If you want to build VLC from sources, you can do it in several ways:
- On GNU/Linux, using the mingw32 cross-compiler.
- This method is preferred over all the others.
+ This is the preferred method, as this is the one used by VideoLAN to
+ build the official Windows binaries.
- natively on Windows, using MSYS+MINGW (www.mingw.org)
(MSYS is a minimal build environment to compile Unixish projects under
windows. It provides all the common Unix tools like sh, gmake...)
-UNSUPPORTED METHODS
--------------------
+UNSUPPORTED METHOD
+------------------
+
- natively on Windows, using cygwin (www.cygwin.com) with or without the
- POSIX emulation layer. This is the preferred way to compile vlc if you want
- to do it on Windows.
+ POSIX emulation layer.
Read http://wiki.videolan.org/Win32CompileCygwinNew to have a complete HOWTO
-- natively on Windows, using Microsoft Visual Studio. This will not work.
-
Getting the right compiler tools
================================
* We also provide a package with all the libraries already compiled so it is
actually really easy to compile a full-featured version of vlc (these compiled
libraries will only work with mingw or cygwin):
- http://download.videolan.org/pub/testing/win32/contrib-200xxxxx-win32-bin-gcc-x.x.x-only.tar.bz2
+ http://download.videolan.org/pub/testing/win32/contrib-201xxxxx-win32-bin-gcc-x.x.x-runtime-x.xx.x-only.tar.bz2
(Check out for more recent versions at the same location).
All you need to do is extract it in your root directory (the include files
and libraries will be put in /usr/win32). You can do this with the following
command:
- tar xjvf contrib-20060330-win32-bin-gcc-3.4.5-only.tar.bz2 -C /
+ tar xjvf contrib-20110614-win32-bin-gcc-4.4.4-runtime-3.15.2-only.tar.bz2 -C /
Please note the "-C /".