[MEncoder-users] libdvdread 0.97 and libdvdnav under MinGW
JonY
10walls at gmail.com
Sat Jun 14 17:06:30 CEST 2008
Nigel Arnold wrote:
> Thanks
>
> Can you tell me the steps you go through from scratch to compile libdvdnav
> under MinGW or Cygwin.
> I've got to a stage now, where it compiles, but fails to reslolve functions
> that are libdvdread.a..<scratches head>
>
> I'm not that familar with the libtools, autoreconf and autogen scripts.
>
> I know it can be done, as i've found a mplayer binary build 26272, which has
> dvdnav support and running strings on it, it's a mingw exe
>
> Thanks
>
>
Hi,
please avoid top-posting, it is frowned upon in this ML. Sorry for the
late reply.
What are the functions that failed to resolve in libdvdread.a? If its
about _dvdcss_open or _dvdcss_disckey, you need to add "-ldvdcss" when
linking.
Here is what I did under MSYS/MinGW, it may be slighly different for Cygwin:
Run "autoreconf -i -v -f" while in libdvdread folder.
Run "./configure --prefix=/mingw --enable-shared --enable-static
-DHAVE_DVDCSS_DVDCSS_H"
Copy libtool from /mingw/bin [1]
Run "make"
add "-ldvdcss" to link command if needed.
Run "make && make install" to continue.
Use the same procedure for libdvdnav.
[1] libtool sources can be found here -> http://ftp.gnu.org/gnu/libtool/
More information about the MEncoder-users
mailing list