[vlc-devel] Bored, depressed? Have fun with Compiling VLC under MSys!
ssbssa at yahoo.de
Thu Nov 13 11:47:47 CET 2008
--- Jean-Baptiste Kempf <jb at videolan.org> schrieb am Mi, 12.11.2008:
> C++ modules like taglib and mkv fails the same way they
> failed on CYGWIN
> (GCC3 issue? maybe)
if you use gcc-4.2.1-sjlj from mingw you won't have any problem with them.
> 1/ Install MinGW
> Use the main installer 5.1.4 found at
> Use the candidate release, and select gcc, g++ and MinGW
> make. It should download:
I get a jerky playback when i use mingwrt-3.15.1 (havn't tried mingwrt-3.15), but not with mingwrt-3.14. Would like to know the results with this one.
> 5/ Gcrypt
> You need gcrypt to bootstrap VLC. It might be stupid, but
> deal with it.
> cd extras/contrib
> cd src
> make .gcrypt
> 6/ Bootstrap VLC
> This is a HACK. Don't do this at HOME.
> cp extras/contrib/share/aclocal/* m4/
> cp /usr/share/aclocal/* m4/
> It should warn about gettext... Just ignore.
before bootstrap i already have the contribs and call bootstrap like this:
export ACLOCAL_ARGS="-I /usr/win32/share/aclocal"
with this i don't need to compile gcrypt or copy any m4's.
> 7/ Contribs
> Take the precompiled contribs:
> Copy them in your ~
> tar xvjf
> -C /
> rm /usr/win32/bin/moc /usr/win32/bin/uic /usr/win32/bin/rcc
> 8/ Configure
> vim extras/package/win32/configure-mingw.sh
> Change CC to gcc and CXX to g++, I recommend to
> --disable-nls too
> sh extras/package/win32/configure-mingw.sh
you won't need to delete moc/uic/rcc when setting some variables before configure:
> 9/ Compile
> Best Regards,
> Jean-Baptiste Kempf
More information about the vlc-devel