[vlc-devel] Bored, depressed? Have fun with Compiling VLC under MSys!

Hannes Domani 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
> http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780
> 
> Use the candidate release, and select gcc, g++ and MinGW
> make. It should download:
> mingwrt-3.15
> w32api-3.12
> binutils-2.18
> gcc-core-3.4.5
> gcc-g++-3.4.5
> mingw32-make-3.81

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
> ./bootstrap
> 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/
> ./bootstrap
> 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"
./bootstrap

with this i don't need to compile gcrypt or copy any m4's.

> 
> 7/ Contribs
> Take the precompiled contribs:
> http://people.videolan.org/~jb/Contribs/contrib-20081021-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2
> Copy them in your ~
> tar xvjf
> contrib-20081021-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2
> -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:
MOC=/usr/win32/bin/moc.exe
UIC=/usr/win32/bin/uic.exe
RCC=/usr/win32/bin/rcc.exe

> 
> 9/ Compile
> make
> 
> Best Regards,
> 
> -- 
> Jean-Baptiste Kempf
> http://www.jbkempf.com/

that's all

regards
Domani Hannes


      



More information about the vlc-devel mailing list