[vlc-devel] Simpler build on Windows

Jean-Baptiste Kempf jb at videolan.org
Wed Sep 26 15:48:20 CEST 2012


Hello,

Building VLC on Windows can be between very hard to masochist hard,
notably because all teh tools are hard to get running correctly.

Here is now a different and simpler HOWTO for building VLC on Windows.

Here it is, in condensed form:

0. Install Windows, Notepad++, 7-zip

1. Install GCC (tdm-gcc-4.7.1-2) on C:\MinGW
http://tdm-gcc.tdragon.net/download
2. Unzip Msys from http://people.videolan.org/~jb/msys/msys.7z to
C:\MinGW\msys
3. Run C:\MinGW\msys\msys.bat . (You are now in mintty, you can adjust
the transparency :) )

4. git clone git://git.videolan.org/vlc.git
5. build tools in extras/tools
6. download prebuilt contribs in contribs/ and move them to mingw32
7. export PATH=$PATH:$HOME/vlc/extras/tools/build/bin/
   export PATH=$PATH:$HOME/vlc/contrib/mingw32/bin/
8. mkdir win32 && cd win32
   sh ../extras/package/win32/configure.sh --host=i586-pc-mingw32msvc
   --disable-nls
9. make -j4

10 make package-win-common

This might need some adjustments, but not many.

http://wiki.videolan.org/Win32CompileMSYS

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list