<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Op157</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Op157"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Op157/"/>
	<updated>2026-11-04T14:51:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17188</id>
		<title>Win32CompileMSYSNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17188"/>
		<updated>2010-10-13T01:49:49Z</updated>

		<summary type="html">&lt;p&gt;Op157: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
MSys is a helper environment for MinGW, the compiler chain for Windows based on GCC. It is the &#039;&#039;&#039;fastest&#039;&#039;&#039; and &#039;&#039;&#039;recommended &#039;&#039;&#039;way to build VLC natively on Windows.  Note that you could also [[Win32Compile|cross compile]] VLC from Linux, if desired (maybe faster).&lt;br /&gt;
&lt;br /&gt;
VLC is a complex program with many dependencies, so minimal command-line experience is required. Also, don&#039;t be in a hurry (2 hours is a minimum for the whole process) and don&#039;t despair if it doesn&#039;t work first time.&lt;br /&gt;
&lt;br /&gt;
== On the edge vs Conservative ==&lt;br /&gt;
&lt;br /&gt;
This update aims at building versions from the 1.1.0 branch natively in the most straightforward way. &lt;br /&gt;
&lt;br /&gt;
Of course, if you want to live on the edge, feel free to select more recent versions of the proposed tools, contribs or sources, but the build has only been thoroughly validated with the versions indicated in the main text flow. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Such alternative ways are indented, italicized and marked &amp;quot;Note for the brave&amp;quot;&amp;amp;nbsp;:-). Your mileage may vary&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements ==&lt;br /&gt;
&lt;br /&gt;
This howto was re-created by [[User:J-b|Jean-Baptiste Kempf]] and updated in June 2009, September 2009, December 2009 and March 2010. &lt;br /&gt;
&lt;br /&gt;
It was updated in June 2010 by Vicne with the help of J-b, gnosygnu and MichaelMc &lt;br /&gt;
&lt;br /&gt;
= Windows tools needed  =&lt;br /&gt;
&lt;br /&gt;
== Text editor  ==&lt;br /&gt;
&lt;br /&gt;
To edit unix-style text documents you need a suitable editor. &lt;br /&gt;
&lt;br /&gt;
For those wishing to have a Notepad look-and-feel I recommend [http://sourceforge.net/projects/notepad2/ notepad2], which may tempt you to ditch Notepad altogether. You can set File - Line endings - Default to &amp;quot;Unix (LF)&amp;quot;, but it always saves opened files in the ending style they have. &lt;br /&gt;
&lt;br /&gt;
== Unzip Utility  ==&lt;br /&gt;
&lt;br /&gt;
Many files to downloaded will have to be uncompressed. As most of them use Linux-originated formats (.tar.gz, .tar.bz2, .tar.lzma), you will need a versatile unzipping utility. A recent version of [http://www.7-zip.org/ 7-zip] is therefore strongly advised. &lt;br /&gt;
&lt;br /&gt;
Please note that most archives contain directory structures. Unless otherwise stated, you have to merge the contents with the existing dirs &lt;br /&gt;
&lt;br /&gt;
== Browser&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Please install &#039;&#039;&#039;Internet Explorer&#039;&#039;&#039; not another modern browser (NOT&amp;amp;nbsp;Mozilla Firefox) &lt;br /&gt;
&lt;br /&gt;
= GNU Windows Environment  =&lt;br /&gt;
&lt;br /&gt;
Before installing, ensure your Windows user name does not contain spaces (VLC will not build in a folder with spaces in it). If it does, please create another user on your system. &lt;br /&gt;
&lt;br /&gt;
In the following text, we&#039;ll refer to this user name as &amp;quot;&amp;amp;lt;username&amp;amp;gt;&amp;quot;. Replace it appropriately where needed of course. &lt;br /&gt;
&lt;br /&gt;
== MinGW  ==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;the old version of mingw GCC (3.4.5) worked with VLC, because it uses SlJl exception unwinding.  Any &amp;quot;vanilla&amp;quot; version 4.0+ by default uses dwarf2 exception unwinding, so isn&#039;t compatible with the contribs.  So recommend installing TDM, below.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== TDM/MinGW Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.5.1.exe/download &lt;br /&gt;
&lt;br /&gt;
Go through the wizard: &lt;br /&gt;
&lt;br /&gt;
*unckeck &amp;quot;Check for updated files...&amp;quot; &lt;br /&gt;
*Select &amp;quot;Create&amp;quot; &lt;br /&gt;
*install to C:\MinGW &lt;br /&gt;
*keep default settings &lt;br /&gt;
&lt;br /&gt;
*afterwords add C:\MinGW\bin to the windows PATH&lt;br /&gt;
&lt;br /&gt;
=== MinGW utils&amp;lt;br&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Installing mingw-utils is recommended: http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz &lt;br /&gt;
&lt;br /&gt;
Extract contents to c:\MinGW&lt;br /&gt;
&lt;br /&gt;
== MSys  ==&lt;br /&gt;
&lt;br /&gt;
=== MSys Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/project/downloading.php?group_id=2435&amp;amp;amp;filename=MSYS-1.0.11.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard and install to to default C:\Msys\1.0 &lt;br /&gt;
&lt;br /&gt;
In the command window that opens, answer questions as follows: &lt;br /&gt;
&lt;br /&gt;
 Accept Post Install: [y]&lt;br /&gt;
 MinGW Installed?&amp;amp;nbsp;:   [y]&lt;br /&gt;
 path to MinGW:       [c:/MinGW]&lt;br /&gt;
&lt;br /&gt;
=== MSys Developer Toolkit  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard, keeping default values &lt;br /&gt;
&lt;br /&gt;
=== AutoTools and libcrypt  ===&lt;br /&gt;
&lt;br /&gt;
Update autoconf, automake, libtool as well as libcrypt by downloading the following files and extracting them to C:\Msys\1.0: &lt;br /&gt;
&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download &lt;br /&gt;
*http://prdownloads.sourceforge.net/mingw/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma&lt;br /&gt;
&lt;br /&gt;
=== Glib and PKG-CONFIG  ===&lt;br /&gt;
&lt;br /&gt;
Similarly, download the following files and extract them to C:\MSys\1.0: &lt;br /&gt;
&lt;br /&gt;
Note* Download the latest version inside this folders:&lt;br /&gt;
&lt;br /&gt;
*http://ftp.gnome.org/pub/GNOME/binaries/win32/glib&lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip &lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.23-3_win32.zip&lt;br /&gt;
&lt;br /&gt;
=== Add pkg config path variable  ===&lt;br /&gt;
&lt;br /&gt;
Add the following line to the *top* of C:\MSys\1.0\msys.bat: &lt;br /&gt;
&lt;br /&gt;
 set PKG_CONFIG_PATH=/win32/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
=== Fix libtool search dirs  ===&lt;br /&gt;
&lt;br /&gt;
Open C:\MSys\1.0\bin\libtool and change line 9926 by appending &#039; /mingw/lib&#039; to the end of &#039;compiler_lib_search_dirs&#039;. The line should then read&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 compiler_lib_search_dirs=&amp;quot;/usr/lib /usr/lib /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /mingw/lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== intl.dll ==&lt;br /&gt;
&lt;br /&gt;
VLC is the first program I&#039;ve attempted to compile, so maybe someone more experienced could update this.&lt;br /&gt;
&lt;br /&gt;
Running the make &amp;amp; bootstrap scripts requires intl.dll.  After a lot of trial and error I found:&lt;br /&gt;
&lt;br /&gt;
1) A good copy of intl.dll from https://svn.modevia.com/inkscape/devlibs/bin/&lt;br /&gt;
&lt;br /&gt;
2) And the directory to place the dll file: C:\msys\1.0\bin\&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== LUA tools  ==&lt;br /&gt;
&lt;br /&gt;
VLC uses the LUA scripting language (See [http://www.lua.org lua.org]). Unfortunately, no binaries are provided so you need to compile them. &lt;br /&gt;
&lt;br /&gt;
*Download the lua tools package from http://www.lua.org/ftp/lua-5.1.4.tar.gz &lt;br /&gt;
*Uncompress it in your home folder (C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;) &lt;br /&gt;
*run C:\MSys\1.0\msys.bat &lt;br /&gt;
*type the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd ~/lua-5.1.4 &lt;br /&gt;
 make mingw&lt;br /&gt;
&lt;br /&gt;
This should produce lua.exe, luac.exe and lua51.dll in the src directory. Put these in your /bin with the commands: &lt;br /&gt;
&lt;br /&gt;
 cd src &lt;br /&gt;
 cp *.exe /bin&lt;br /&gt;
 cp *.dll /bin&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
= Precompiled contribs  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: Alternatively, you can get the latest contrib from&amp;amp;nbsp;:http://people.videolan.org/~jb/Contribs/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*download the file http://people.videolan.org/~jb/Contribs/contrib-20100608-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0 &#039;&#039;&#039;but without the /usr path&#039;&#039;&#039;. For example, one of the resulting files should be:&lt;br /&gt;
&lt;br /&gt;
 C:\MSys\1.0\win32\lib\libdvdnav.a&lt;br /&gt;
&lt;br /&gt;
Contribs are basically some precompiled 3rd party library (Here&#039;s a [[Contrib_Status|list]] of what they all are).&lt;br /&gt;
&lt;br /&gt;
= VLC sources  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: This section lists the steps for VLC version 1.1.0rc3. Alternatively, you could get the latest sources from the development tree using GIT. It&#039;s not as difficult as it looks to do so. If you want chose that route, please follow instructions on the [[Git Windows]] page (just download the VLC repository--you don&#039;t need the x264 one) then skip the next section &amp;quot;Last Change&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Base: VLC version 1.1.0rc3  ==&lt;br /&gt;
&lt;br /&gt;
*download the file http://download.videolan.org/pub/videolan/testing/vlc-1.1.0-rc3/vlc-1.1.0-rc3.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt; &lt;br /&gt;
*rename the vlc-1.1.0rc3 dir to vlc&lt;br /&gt;
&lt;br /&gt;
== add missing configure-msys (1.1.x only)==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-msys.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
== add missing configure-common (1.1.x only) ==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-common.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-common.sh&lt;br /&gt;
&lt;br /&gt;
= Last change&amp;amp;nbsp;: whoami and hostname  =&lt;br /&gt;
&lt;br /&gt;
Whoami is not available on Windows, and hostname doesn&#039;t support the -f option used by the build process. These utilities are used to show the name and computer of the person who compiled VLC in the &#039;About&#039; box. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: the steps below are file changes so that compile works, but an alternative is to download and install GNU whoami and hostname functionality. This can be achieved by extracting who.exe, whoami.exe and hostname.exe from http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-2/coreutils-5.97-2-msys-1.0.11-ext.tar.lzma/download and saving them to C:/MSys/1.0/bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Whoami  ==&lt;br /&gt;
&lt;br /&gt;
Create a new file containing the single line: &lt;br /&gt;
&lt;br /&gt;
 echo &#039;&amp;amp;lt;username&amp;amp;gt;&#039;&lt;br /&gt;
&lt;br /&gt;
and save it as C:\MSys\1.0\bin\whoami (without any extension) &lt;br /&gt;
&lt;br /&gt;
== Hostname  ==&lt;br /&gt;
&lt;br /&gt;
Modify configure.ac so that it doesn&#039;t call &#039;hostname -f&#039; as follows: &lt;br /&gt;
&lt;br /&gt;
*open C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\vlc\configure.ac &lt;br /&gt;
*goto search button:&lt;br /&gt;
*change it as follows:&lt;br /&gt;
&lt;br /&gt;
 old: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname -f 2&amp;amp;gt; /dev/null || hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
 new: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
&lt;br /&gt;
= Build VLC  =&lt;br /&gt;
&lt;br /&gt;
The build is made exclusively from the command line, so if you closed the prompt at the LUA step, re-execute C:\MSys\1.0\msys.bat, then type the commands as mentioned &lt;br /&gt;
&lt;br /&gt;
== Bootstrap  ==&lt;br /&gt;
&lt;br /&gt;
 cd vlc&lt;br /&gt;
 cp -v /usr/win32/share/aclocal/* m4/&lt;br /&gt;
 cp -v /usr/share/aclocal/* m4/&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH ./bootstrap&lt;br /&gt;
&lt;br /&gt;
== Configure  ==&lt;br /&gt;
&lt;br /&gt;
 sh extras/package/win32/configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
If you want any custom options, like &amp;quot;--disable-lua&amp;quot; or anything of that nature, you&#039;ll need to edit that file directly instead of passing them in as parameters (at least currently that is required).&lt;br /&gt;
&lt;br /&gt;
== Make (compile) ==&lt;br /&gt;
&lt;br /&gt;
Note&amp;amp;nbsp;: If your &amp;amp;lt;username&amp;amp;gt; starts with the &amp;quot;u&amp;quot; or &amp;quot;x&amp;quot; character, change C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\config.h and double all backslashes in VLC_COMPILED_BY constant. &lt;br /&gt;
&lt;br /&gt;
Type the following command&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH make&lt;br /&gt;
&lt;br /&gt;
== Create self-contained packages  ==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, build self-contained VLC packages with one of the following &amp;quot;make&amp;quot; commands: &lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols). &lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file). &lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base-debug&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries containing debug info usable by gdb).&lt;br /&gt;
&lt;br /&gt;
Note that with the 1.2 branch these names have changed slightly.  Run &#039;&lt;br /&gt;
 grep &#039;:&#039; Makefile | grep package-win32&lt;br /&gt;
to see what they are now.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
See [[Win32CompileMSYSTroubleShooting]].&lt;/div&gt;</summary>
		<author><name>Op157</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17187</id>
		<title>Win32CompileMSYSNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17187"/>
		<updated>2010-10-13T01:45:35Z</updated>

		<summary type="html">&lt;p&gt;Op157: /* intl.dll */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
MSys is a helper environment for MinGW, the compiler chain for Windows based on GCC. It is the &#039;&#039;&#039;fastest&#039;&#039;&#039; and &#039;&#039;&#039;recommended &#039;&#039;&#039;way to build VLC natively on Windows.  Note that you could also [[Win32Compile|cross compile]] VLC from Linux, if desired (maybe faster).&lt;br /&gt;
&lt;br /&gt;
VLC is a complex program with many dependencies, so minimal command-line experience is required. Also, don&#039;t be in a hurry (2 hours is a minimum for the whole process) and don&#039;t despair if it doesn&#039;t work first time.&lt;br /&gt;
&lt;br /&gt;
== On the edge vs Conservative ==&lt;br /&gt;
&lt;br /&gt;
This update aims at building versions from the 1.1.0 branch natively in the most straightforward way. &lt;br /&gt;
&lt;br /&gt;
Of course, if you want to live on the edge, feel free to select more recent versions of the proposed tools, contribs or sources, but the build has only been thoroughly validated with the versions indicated in the main text flow. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Such alternative ways are indented, italicized and marked &amp;quot;Note for the brave&amp;quot;&amp;amp;nbsp;:-). Your mileage may vary&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements ==&lt;br /&gt;
&lt;br /&gt;
This howto was re-created by [[User:J-b|Jean-Baptiste Kempf]] and updated in June 2009, September 2009, December 2009 and March 2010. &lt;br /&gt;
&lt;br /&gt;
It was updated in June 2010 by Vicne with the help of J-b, gnosygnu and MichaelMc &lt;br /&gt;
&lt;br /&gt;
= Windows tools needed  =&lt;br /&gt;
&lt;br /&gt;
== Text editor  ==&lt;br /&gt;
&lt;br /&gt;
To edit unix-style text documents you need a suitable editor. &lt;br /&gt;
&lt;br /&gt;
For those wishing to have a Notepad look-and-feel I recommend [http://sourceforge.net/projects/notepad2/ notepad2], which may tempt you to ditch Notepad altogether. You can set File - Line endings - Default to &amp;quot;Unix (LF)&amp;quot;, but it always saves opened files in the ending style they have. &lt;br /&gt;
&lt;br /&gt;
== Unzip Utility  ==&lt;br /&gt;
&lt;br /&gt;
Many files to downloaded will have to be uncompressed. As most of them use Linux-originated formats (.tar.gz, .tar.bz2, .tar.lzma), you will need a versatile unzipping utility. A recent version of [http://www.7-zip.org/ 7-zip] is therefore strongly advised. &lt;br /&gt;
&lt;br /&gt;
Please note that most archives contain directory structures. Unless otherwise stated, you have to merge the contents with the existing dirs &lt;br /&gt;
&lt;br /&gt;
== Browser&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Please install &#039;&#039;&#039;Internet Explorer&#039;&#039;&#039; not another modern browser (NOT&amp;amp;nbsp;Mozilla Firefox) &lt;br /&gt;
&lt;br /&gt;
= GNU Windows Environment  =&lt;br /&gt;
&lt;br /&gt;
Before installing, ensure your Windows user name does not contain spaces (VLC will not build in a folder with spaces in it). If it does, please create another user on your system. &lt;br /&gt;
&lt;br /&gt;
In the following text, we&#039;ll refer to this user name as &amp;quot;&amp;amp;lt;username&amp;amp;gt;&amp;quot;. Replace it appropriately where needed of course. &lt;br /&gt;
&lt;br /&gt;
== MinGW  ==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;the old version of mingw GCC (3.4.5) worked with VLC, because it uses SlJl exception unwinding.  Any &amp;quot;vanilla&amp;quot; version 4.0+ by default uses dwarf2 exception unwinding, so isn&#039;t compatible with the contribs.  So recommend installing TDM, below.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== TDM/MinGW Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.5.1.exe/download &lt;br /&gt;
&lt;br /&gt;
Go through the wizard: &lt;br /&gt;
&lt;br /&gt;
*unckeck &amp;quot;Check for updated files...&amp;quot; &lt;br /&gt;
*Select &amp;quot;Create&amp;quot; &lt;br /&gt;
*install to C:\MinGW &lt;br /&gt;
*keep default settings &lt;br /&gt;
&lt;br /&gt;
*afterwords add C:\MinGW\bin to the windows PATH&lt;br /&gt;
&lt;br /&gt;
=== MinGW utils&amp;lt;br&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Installing mingw-utils is recommended: http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz &lt;br /&gt;
&lt;br /&gt;
Extract contents to c:\MinGW&lt;br /&gt;
&lt;br /&gt;
== MSys  ==&lt;br /&gt;
&lt;br /&gt;
=== MSys Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/project/downloading.php?group_id=2435&amp;amp;amp;filename=MSYS-1.0.11.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard and install to to default C:\Msys\1.0 &lt;br /&gt;
&lt;br /&gt;
In the command window that opens, answer questions as follows: &lt;br /&gt;
&lt;br /&gt;
 Accept Post Install: [y]&lt;br /&gt;
 MinGW Installed?&amp;amp;nbsp;:   [y]&lt;br /&gt;
 path to MinGW:       [c:/MinGW]&lt;br /&gt;
&lt;br /&gt;
=== MSys Developer Toolkit  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard, keeping default values &lt;br /&gt;
&lt;br /&gt;
=== AutoTools and libcrypt  ===&lt;br /&gt;
&lt;br /&gt;
Update autoconf, automake, libtool as well as libcrypt by downloading the following files and extracting them to C:\Msys\1.0: &lt;br /&gt;
&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download &lt;br /&gt;
*http://prdownloads.sourceforge.net/mingw/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma&lt;br /&gt;
&lt;br /&gt;
=== Glib and PKG-CONFIG  ===&lt;br /&gt;
&lt;br /&gt;
Similarly, download the following files and extract them to C:\MSys\1.0: &lt;br /&gt;
&lt;br /&gt;
Note* Download the latest version inside this folders:&lt;br /&gt;
&lt;br /&gt;
*http://ftp.gnome.org/pub/GNOME/binaries/win32/glib&lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip &lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.23-3_win32.zip&lt;br /&gt;
&lt;br /&gt;
=== Add pkg config path variable  ===&lt;br /&gt;
&lt;br /&gt;
Add the following line to the *top* of C:\MSys\1.0\msys.bat: &lt;br /&gt;
&lt;br /&gt;
 set PKG_CONFIG_PATH=/win32/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
=== Fix libtool search dirs  ===&lt;br /&gt;
&lt;br /&gt;
Open C:\MSys\1.0\bin\libtool and change line 9926 by appending &#039; /mingw/lib&#039; to the end of &#039;compiler_lib_search_dirs&#039;. The line should then read&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 compiler_lib_search_dirs=&amp;quot;/usr/lib /usr/lib /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /mingw/lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== LUA tools  ==&lt;br /&gt;
&lt;br /&gt;
VLC uses the LUA scripting language (See [http://www.lua.org lua.org]). Unfortunately, no binaries are provided so you need to compile them. &lt;br /&gt;
&lt;br /&gt;
*Download the lua tools package from http://www.lua.org/ftp/lua-5.1.4.tar.gz &lt;br /&gt;
*Uncompress it in your home folder (C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;) &lt;br /&gt;
*run C:\MSys\1.0\msys.bat &lt;br /&gt;
*type the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd ~/lua-5.1.4 &lt;br /&gt;
 make mingw&lt;br /&gt;
&lt;br /&gt;
This should produce lua.exe, luac.exe and lua51.dll in the src directory. Put these in your /bin with the commands: &lt;br /&gt;
&lt;br /&gt;
 cd src &lt;br /&gt;
 cp *.exe /bin&lt;br /&gt;
 cp *.dll /bin&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
= Precompiled contribs  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: Alternatively, you can get the latest contrib from&amp;amp;nbsp;:http://people.videolan.org/~jb/Contribs/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*download the file http://people.videolan.org/~jb/Contribs/contrib-20100608-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0 &#039;&#039;&#039;but without the /usr path&#039;&#039;&#039;. For example, one of the resulting files should be:&lt;br /&gt;
&lt;br /&gt;
 C:\MSys\1.0\win32\lib\libdvdnav.a&lt;br /&gt;
&lt;br /&gt;
Contribs are basically some precompiled 3rd party library (Here&#039;s a [[Contrib_Status|list]] of what they all are).&lt;br /&gt;
&lt;br /&gt;
= VLC sources  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: This section lists the steps for VLC version 1.1.0rc3. Alternatively, you could get the latest sources from the development tree using GIT. It&#039;s not as difficult as it looks to do so. If you want chose that route, please follow instructions on the [[Git Windows]] page (just download the VLC repository--you don&#039;t need the x264 one) then skip the next section &amp;quot;Last Change&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Base: VLC version 1.1.0rc3  ==&lt;br /&gt;
&lt;br /&gt;
*download the file http://download.videolan.org/pub/videolan/testing/vlc-1.1.0-rc3/vlc-1.1.0-rc3.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt; &lt;br /&gt;
*rename the vlc-1.1.0rc3 dir to vlc&lt;br /&gt;
&lt;br /&gt;
== add missing configure-msys (1.1.x only)==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-msys.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
== add missing configure-common (1.1.x only) ==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-common.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-common.sh&lt;br /&gt;
&lt;br /&gt;
= Last change&amp;amp;nbsp;: whoami and hostname  =&lt;br /&gt;
&lt;br /&gt;
Whoami is not available on Windows, and hostname doesn&#039;t support the -f option used by the build process. These utilities are used to show the name and computer of the person who compiled VLC in the &#039;About&#039; box. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: the steps below are file changes so that compile works, but an alternative is to download and install GNU whoami and hostname functionality. This can be achieved by extracting who.exe, whoami.exe and hostname.exe from http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-2/coreutils-5.97-2-msys-1.0.11-ext.tar.lzma/download and saving them to C:/MSys/1.0/bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Whoami  ==&lt;br /&gt;
&lt;br /&gt;
Create a new file containing the single line: &lt;br /&gt;
&lt;br /&gt;
 echo &#039;&amp;amp;lt;username&amp;amp;gt;&#039;&lt;br /&gt;
&lt;br /&gt;
and save it as C:\MSys\1.0\bin\whoami (without any extension) &lt;br /&gt;
&lt;br /&gt;
== Hostname  ==&lt;br /&gt;
&lt;br /&gt;
Modify configure.ac so that it doesn&#039;t call &#039;hostname -f&#039; as follows: &lt;br /&gt;
&lt;br /&gt;
*open C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\vlc\configure.ac &lt;br /&gt;
*goto search button:&lt;br /&gt;
*change it as follows:&lt;br /&gt;
&lt;br /&gt;
 old: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname -f 2&amp;amp;gt; /dev/null || hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
 new: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
&lt;br /&gt;
= Build VLC  =&lt;br /&gt;
&lt;br /&gt;
The build is made exclusively from the command line, so if you closed the prompt at the LUA step, re-execute C:\MSys\1.0\msys.bat, then type the commands as mentioned &lt;br /&gt;
&lt;br /&gt;
== intl.dll ==&lt;br /&gt;
&lt;br /&gt;
VLC is the first program I&#039;ve attempted to compile, so maybe someone more experienced could update this.&lt;br /&gt;
&lt;br /&gt;
Running the bootstrap script required intl.dll.  From trial and error I found:&lt;br /&gt;
&lt;br /&gt;
1) A good copy of intl.dll from https://svn.modevia.com/inkscape/devlibs/bin/&lt;br /&gt;
&lt;br /&gt;
2) Put the dll file in C:\msys\1.0\bin\&lt;br /&gt;
&lt;br /&gt;
== Bootstrap  ==&lt;br /&gt;
&lt;br /&gt;
 cd vlc&lt;br /&gt;
 cp -v /usr/win32/share/aclocal/* m4/&lt;br /&gt;
 cp -v /usr/share/aclocal/* m4/&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH ./bootstrap&lt;br /&gt;
&lt;br /&gt;
== Configure  ==&lt;br /&gt;
&lt;br /&gt;
 sh extras/package/win32/configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
If you want any custom options, like &amp;quot;--disable-lua&amp;quot; or anything of that nature, you&#039;ll need to edit that file directly instead of passing them in as parameters (at least currently that is required).&lt;br /&gt;
&lt;br /&gt;
== Make (compile) ==&lt;br /&gt;
&lt;br /&gt;
Note&amp;amp;nbsp;: If your &amp;amp;lt;username&amp;amp;gt; starts with the &amp;quot;u&amp;quot; or &amp;quot;x&amp;quot; character, change C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\config.h and double all backslashes in VLC_COMPILED_BY constant. &lt;br /&gt;
&lt;br /&gt;
Type the following command&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH make&lt;br /&gt;
&lt;br /&gt;
== Create self-contained packages  ==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, build self-contained VLC packages with one of the following &amp;quot;make&amp;quot; commands: &lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols). &lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file). &lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base-debug&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries containing debug info usable by gdb).&lt;br /&gt;
&lt;br /&gt;
Note that with the 1.2 branch these names have changed slightly.  Run &#039;&lt;br /&gt;
 grep &#039;:&#039; Makefile | grep package-win32&lt;br /&gt;
to see what they are now.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
See [[Win32CompileMSYSTroubleShooting]].&lt;/div&gt;</summary>
		<author><name>Op157</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17186</id>
		<title>Win32CompileMSYSNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17186"/>
		<updated>2010-10-13T01:45:18Z</updated>

		<summary type="html">&lt;p&gt;Op157: /* intl.dll */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
MSys is a helper environment for MinGW, the compiler chain for Windows based on GCC. It is the &#039;&#039;&#039;fastest&#039;&#039;&#039; and &#039;&#039;&#039;recommended &#039;&#039;&#039;way to build VLC natively on Windows.  Note that you could also [[Win32Compile|cross compile]] VLC from Linux, if desired (maybe faster).&lt;br /&gt;
&lt;br /&gt;
VLC is a complex program with many dependencies, so minimal command-line experience is required. Also, don&#039;t be in a hurry (2 hours is a minimum for the whole process) and don&#039;t despair if it doesn&#039;t work first time.&lt;br /&gt;
&lt;br /&gt;
== On the edge vs Conservative ==&lt;br /&gt;
&lt;br /&gt;
This update aims at building versions from the 1.1.0 branch natively in the most straightforward way. &lt;br /&gt;
&lt;br /&gt;
Of course, if you want to live on the edge, feel free to select more recent versions of the proposed tools, contribs or sources, but the build has only been thoroughly validated with the versions indicated in the main text flow. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Such alternative ways are indented, italicized and marked &amp;quot;Note for the brave&amp;quot;&amp;amp;nbsp;:-). Your mileage may vary&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements ==&lt;br /&gt;
&lt;br /&gt;
This howto was re-created by [[User:J-b|Jean-Baptiste Kempf]] and updated in June 2009, September 2009, December 2009 and March 2010. &lt;br /&gt;
&lt;br /&gt;
It was updated in June 2010 by Vicne with the help of J-b, gnosygnu and MichaelMc &lt;br /&gt;
&lt;br /&gt;
= Windows tools needed  =&lt;br /&gt;
&lt;br /&gt;
== Text editor  ==&lt;br /&gt;
&lt;br /&gt;
To edit unix-style text documents you need a suitable editor. &lt;br /&gt;
&lt;br /&gt;
For those wishing to have a Notepad look-and-feel I recommend [http://sourceforge.net/projects/notepad2/ notepad2], which may tempt you to ditch Notepad altogether. You can set File - Line endings - Default to &amp;quot;Unix (LF)&amp;quot;, but it always saves opened files in the ending style they have. &lt;br /&gt;
&lt;br /&gt;
== Unzip Utility  ==&lt;br /&gt;
&lt;br /&gt;
Many files to downloaded will have to be uncompressed. As most of them use Linux-originated formats (.tar.gz, .tar.bz2, .tar.lzma), you will need a versatile unzipping utility. A recent version of [http://www.7-zip.org/ 7-zip] is therefore strongly advised. &lt;br /&gt;
&lt;br /&gt;
Please note that most archives contain directory structures. Unless otherwise stated, you have to merge the contents with the existing dirs &lt;br /&gt;
&lt;br /&gt;
== Browser&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Please install &#039;&#039;&#039;Internet Explorer&#039;&#039;&#039; not another modern browser (NOT&amp;amp;nbsp;Mozilla Firefox) &lt;br /&gt;
&lt;br /&gt;
= GNU Windows Environment  =&lt;br /&gt;
&lt;br /&gt;
Before installing, ensure your Windows user name does not contain spaces (VLC will not build in a folder with spaces in it). If it does, please create another user on your system. &lt;br /&gt;
&lt;br /&gt;
In the following text, we&#039;ll refer to this user name as &amp;quot;&amp;amp;lt;username&amp;amp;gt;&amp;quot;. Replace it appropriately where needed of course. &lt;br /&gt;
&lt;br /&gt;
== MinGW  ==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;the old version of mingw GCC (3.4.5) worked with VLC, because it uses SlJl exception unwinding.  Any &amp;quot;vanilla&amp;quot; version 4.0+ by default uses dwarf2 exception unwinding, so isn&#039;t compatible with the contribs.  So recommend installing TDM, below.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== TDM/MinGW Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.5.1.exe/download &lt;br /&gt;
&lt;br /&gt;
Go through the wizard: &lt;br /&gt;
&lt;br /&gt;
*unckeck &amp;quot;Check for updated files...&amp;quot; &lt;br /&gt;
*Select &amp;quot;Create&amp;quot; &lt;br /&gt;
*install to C:\MinGW &lt;br /&gt;
*keep default settings &lt;br /&gt;
&lt;br /&gt;
*afterwords add C:\MinGW\bin to the windows PATH&lt;br /&gt;
&lt;br /&gt;
=== MinGW utils&amp;lt;br&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Installing mingw-utils is recommended: http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz &lt;br /&gt;
&lt;br /&gt;
Extract contents to c:\MinGW&lt;br /&gt;
&lt;br /&gt;
== MSys  ==&lt;br /&gt;
&lt;br /&gt;
=== MSys Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/project/downloading.php?group_id=2435&amp;amp;amp;filename=MSYS-1.0.11.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard and install to to default C:\Msys\1.0 &lt;br /&gt;
&lt;br /&gt;
In the command window that opens, answer questions as follows: &lt;br /&gt;
&lt;br /&gt;
 Accept Post Install: [y]&lt;br /&gt;
 MinGW Installed?&amp;amp;nbsp;:   [y]&lt;br /&gt;
 path to MinGW:       [c:/MinGW]&lt;br /&gt;
&lt;br /&gt;
=== MSys Developer Toolkit  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard, keeping default values &lt;br /&gt;
&lt;br /&gt;
=== AutoTools and libcrypt  ===&lt;br /&gt;
&lt;br /&gt;
Update autoconf, automake, libtool as well as libcrypt by downloading the following files and extracting them to C:\Msys\1.0: &lt;br /&gt;
&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download &lt;br /&gt;
*http://prdownloads.sourceforge.net/mingw/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma&lt;br /&gt;
&lt;br /&gt;
=== Glib and PKG-CONFIG  ===&lt;br /&gt;
&lt;br /&gt;
Similarly, download the following files and extract them to C:\MSys\1.0: &lt;br /&gt;
&lt;br /&gt;
Note* Download the latest version inside this folders:&lt;br /&gt;
&lt;br /&gt;
*http://ftp.gnome.org/pub/GNOME/binaries/win32/glib&lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip &lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.23-3_win32.zip&lt;br /&gt;
&lt;br /&gt;
=== Add pkg config path variable  ===&lt;br /&gt;
&lt;br /&gt;
Add the following line to the *top* of C:\MSys\1.0\msys.bat: &lt;br /&gt;
&lt;br /&gt;
 set PKG_CONFIG_PATH=/win32/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
=== Fix libtool search dirs  ===&lt;br /&gt;
&lt;br /&gt;
Open C:\MSys\1.0\bin\libtool and change line 9926 by appending &#039; /mingw/lib&#039; to the end of &#039;compiler_lib_search_dirs&#039;. The line should then read&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 compiler_lib_search_dirs=&amp;quot;/usr/lib /usr/lib /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /mingw/lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== LUA tools  ==&lt;br /&gt;
&lt;br /&gt;
VLC uses the LUA scripting language (See [http://www.lua.org lua.org]). Unfortunately, no binaries are provided so you need to compile them. &lt;br /&gt;
&lt;br /&gt;
*Download the lua tools package from http://www.lua.org/ftp/lua-5.1.4.tar.gz &lt;br /&gt;
*Uncompress it in your home folder (C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;) &lt;br /&gt;
*run C:\MSys\1.0\msys.bat &lt;br /&gt;
*type the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd ~/lua-5.1.4 &lt;br /&gt;
 make mingw&lt;br /&gt;
&lt;br /&gt;
This should produce lua.exe, luac.exe and lua51.dll in the src directory. Put these in your /bin with the commands: &lt;br /&gt;
&lt;br /&gt;
 cd src &lt;br /&gt;
 cp *.exe /bin&lt;br /&gt;
 cp *.dll /bin&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
= Precompiled contribs  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: Alternatively, you can get the latest contrib from&amp;amp;nbsp;:http://people.videolan.org/~jb/Contribs/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*download the file http://people.videolan.org/~jb/Contribs/contrib-20100608-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0 &#039;&#039;&#039;but without the /usr path&#039;&#039;&#039;. For example, one of the resulting files should be:&lt;br /&gt;
&lt;br /&gt;
 C:\MSys\1.0\win32\lib\libdvdnav.a&lt;br /&gt;
&lt;br /&gt;
Contribs are basically some precompiled 3rd party library (Here&#039;s a [[Contrib_Status|list]] of what they all are).&lt;br /&gt;
&lt;br /&gt;
= VLC sources  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: This section lists the steps for VLC version 1.1.0rc3. Alternatively, you could get the latest sources from the development tree using GIT. It&#039;s not as difficult as it looks to do so. If you want chose that route, please follow instructions on the [[Git Windows]] page (just download the VLC repository--you don&#039;t need the x264 one) then skip the next section &amp;quot;Last Change&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Base: VLC version 1.1.0rc3  ==&lt;br /&gt;
&lt;br /&gt;
*download the file http://download.videolan.org/pub/videolan/testing/vlc-1.1.0-rc3/vlc-1.1.0-rc3.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt; &lt;br /&gt;
*rename the vlc-1.1.0rc3 dir to vlc&lt;br /&gt;
&lt;br /&gt;
== add missing configure-msys (1.1.x only)==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-msys.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
== add missing configure-common (1.1.x only) ==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-common.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-common.sh&lt;br /&gt;
&lt;br /&gt;
= Last change&amp;amp;nbsp;: whoami and hostname  =&lt;br /&gt;
&lt;br /&gt;
Whoami is not available on Windows, and hostname doesn&#039;t support the -f option used by the build process. These utilities are used to show the name and computer of the person who compiled VLC in the &#039;About&#039; box. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: the steps below are file changes so that compile works, but an alternative is to download and install GNU whoami and hostname functionality. This can be achieved by extracting who.exe, whoami.exe and hostname.exe from http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-2/coreutils-5.97-2-msys-1.0.11-ext.tar.lzma/download and saving them to C:/MSys/1.0/bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Whoami  ==&lt;br /&gt;
&lt;br /&gt;
Create a new file containing the single line: &lt;br /&gt;
&lt;br /&gt;
 echo &#039;&amp;amp;lt;username&amp;amp;gt;&#039;&lt;br /&gt;
&lt;br /&gt;
and save it as C:\MSys\1.0\bin\whoami (without any extension) &lt;br /&gt;
&lt;br /&gt;
== Hostname  ==&lt;br /&gt;
&lt;br /&gt;
Modify configure.ac so that it doesn&#039;t call &#039;hostname -f&#039; as follows: &lt;br /&gt;
&lt;br /&gt;
*open C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\vlc\configure.ac &lt;br /&gt;
*goto search button:&lt;br /&gt;
*change it as follows:&lt;br /&gt;
&lt;br /&gt;
 old: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname -f 2&amp;amp;gt; /dev/null || hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
 new: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
&lt;br /&gt;
= Build VLC  =&lt;br /&gt;
&lt;br /&gt;
The build is made exclusively from the command line, so if you closed the prompt at the LUA step, re-execute C:\MSys\1.0\msys.bat, then type the commands as mentioned &lt;br /&gt;
&lt;br /&gt;
== intl.dll ==&lt;br /&gt;
 VLC is the first program I&#039;ve attempted to compile, so maybe someone more experienced could update this.&lt;br /&gt;
&lt;br /&gt;
Running the bootstrap script required intl.dll.  From trial and error I found:&lt;br /&gt;
&lt;br /&gt;
1) A good copy of intl.dll from https://svn.modevia.com/inkscape/devlibs/bin/&lt;br /&gt;
&lt;br /&gt;
2) Put the dll file in C:\msys\1.0\bin\&lt;br /&gt;
&lt;br /&gt;
== Bootstrap  ==&lt;br /&gt;
&lt;br /&gt;
 cd vlc&lt;br /&gt;
 cp -v /usr/win32/share/aclocal/* m4/&lt;br /&gt;
 cp -v /usr/share/aclocal/* m4/&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH ./bootstrap&lt;br /&gt;
&lt;br /&gt;
== Configure  ==&lt;br /&gt;
&lt;br /&gt;
 sh extras/package/win32/configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
If you want any custom options, like &amp;quot;--disable-lua&amp;quot; or anything of that nature, you&#039;ll need to edit that file directly instead of passing them in as parameters (at least currently that is required).&lt;br /&gt;
&lt;br /&gt;
== Make (compile) ==&lt;br /&gt;
&lt;br /&gt;
Note&amp;amp;nbsp;: If your &amp;amp;lt;username&amp;amp;gt; starts with the &amp;quot;u&amp;quot; or &amp;quot;x&amp;quot; character, change C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\config.h and double all backslashes in VLC_COMPILED_BY constant. &lt;br /&gt;
&lt;br /&gt;
Type the following command&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH make&lt;br /&gt;
&lt;br /&gt;
== Create self-contained packages  ==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, build self-contained VLC packages with one of the following &amp;quot;make&amp;quot; commands: &lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols). &lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file). &lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base-debug&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries containing debug info usable by gdb).&lt;br /&gt;
&lt;br /&gt;
Note that with the 1.2 branch these names have changed slightly.  Run &#039;&lt;br /&gt;
 grep &#039;:&#039; Makefile | grep package-win32&lt;br /&gt;
to see what they are now.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
See [[Win32CompileMSYSTroubleShooting]].&lt;/div&gt;</summary>
		<author><name>Op157</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17185</id>
		<title>Win32CompileMSYSNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileMSYSNew&amp;diff=17185"/>
		<updated>2010-10-13T01:44:55Z</updated>

		<summary type="html">&lt;p&gt;Op157: /* Build VLC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
MSys is a helper environment for MinGW, the compiler chain for Windows based on GCC. It is the &#039;&#039;&#039;fastest&#039;&#039;&#039; and &#039;&#039;&#039;recommended &#039;&#039;&#039;way to build VLC natively on Windows.  Note that you could also [[Win32Compile|cross compile]] VLC from Linux, if desired (maybe faster).&lt;br /&gt;
&lt;br /&gt;
VLC is a complex program with many dependencies, so minimal command-line experience is required. Also, don&#039;t be in a hurry (2 hours is a minimum for the whole process) and don&#039;t despair if it doesn&#039;t work first time.&lt;br /&gt;
&lt;br /&gt;
== On the edge vs Conservative ==&lt;br /&gt;
&lt;br /&gt;
This update aims at building versions from the 1.1.0 branch natively in the most straightforward way. &lt;br /&gt;
&lt;br /&gt;
Of course, if you want to live on the edge, feel free to select more recent versions of the proposed tools, contribs or sources, but the build has only been thoroughly validated with the versions indicated in the main text flow. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Such alternative ways are indented, italicized and marked &amp;quot;Note for the brave&amp;quot;&amp;amp;nbsp;:-). Your mileage may vary&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements ==&lt;br /&gt;
&lt;br /&gt;
This howto was re-created by [[User:J-b|Jean-Baptiste Kempf]] and updated in June 2009, September 2009, December 2009 and March 2010. &lt;br /&gt;
&lt;br /&gt;
It was updated in June 2010 by Vicne with the help of J-b, gnosygnu and MichaelMc &lt;br /&gt;
&lt;br /&gt;
= Windows tools needed  =&lt;br /&gt;
&lt;br /&gt;
== Text editor  ==&lt;br /&gt;
&lt;br /&gt;
To edit unix-style text documents you need a suitable editor. &lt;br /&gt;
&lt;br /&gt;
For those wishing to have a Notepad look-and-feel I recommend [http://sourceforge.net/projects/notepad2/ notepad2], which may tempt you to ditch Notepad altogether. You can set File - Line endings - Default to &amp;quot;Unix (LF)&amp;quot;, but it always saves opened files in the ending style they have. &lt;br /&gt;
&lt;br /&gt;
== Unzip Utility  ==&lt;br /&gt;
&lt;br /&gt;
Many files to downloaded will have to be uncompressed. As most of them use Linux-originated formats (.tar.gz, .tar.bz2, .tar.lzma), you will need a versatile unzipping utility. A recent version of [http://www.7-zip.org/ 7-zip] is therefore strongly advised. &lt;br /&gt;
&lt;br /&gt;
Please note that most archives contain directory structures. Unless otherwise stated, you have to merge the contents with the existing dirs &lt;br /&gt;
&lt;br /&gt;
== Browser&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Please install &#039;&#039;&#039;Internet Explorer&#039;&#039;&#039; not another modern browser (NOT&amp;amp;nbsp;Mozilla Firefox) &lt;br /&gt;
&lt;br /&gt;
= GNU Windows Environment  =&lt;br /&gt;
&lt;br /&gt;
Before installing, ensure your Windows user name does not contain spaces (VLC will not build in a folder with spaces in it). If it does, please create another user on your system. &lt;br /&gt;
&lt;br /&gt;
In the following text, we&#039;ll refer to this user name as &amp;quot;&amp;amp;lt;username&amp;amp;gt;&amp;quot;. Replace it appropriately where needed of course. &lt;br /&gt;
&lt;br /&gt;
== MinGW  ==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;the old version of mingw GCC (3.4.5) worked with VLC, because it uses SlJl exception unwinding.  Any &amp;quot;vanilla&amp;quot; version 4.0+ by default uses dwarf2 exception unwinding, so isn&#039;t compatible with the contribs.  So recommend installing TDM, below.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== TDM/MinGW Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.5.1.exe/download &lt;br /&gt;
&lt;br /&gt;
Go through the wizard: &lt;br /&gt;
&lt;br /&gt;
*unckeck &amp;quot;Check for updated files...&amp;quot; &lt;br /&gt;
*Select &amp;quot;Create&amp;quot; &lt;br /&gt;
*install to C:\MinGW &lt;br /&gt;
*keep default settings &lt;br /&gt;
&lt;br /&gt;
*afterwords add C:\MinGW\bin to the windows PATH&lt;br /&gt;
&lt;br /&gt;
=== MinGW utils&amp;lt;br&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Installing mingw-utils is recommended: http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz &lt;br /&gt;
&lt;br /&gt;
Extract contents to c:\MinGW&lt;br /&gt;
&lt;br /&gt;
== MSys  ==&lt;br /&gt;
&lt;br /&gt;
=== MSys Setup  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://sourceforge.net/project/downloading.php?group_id=2435&amp;amp;amp;filename=MSYS-1.0.11.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard and install to to default C:\Msys\1.0 &lt;br /&gt;
&lt;br /&gt;
In the command window that opens, answer questions as follows: &lt;br /&gt;
&lt;br /&gt;
 Accept Post Install: [y]&lt;br /&gt;
 MinGW Installed?&amp;amp;nbsp;:   [y]&lt;br /&gt;
 path to MinGW:       [c:/MinGW]&lt;br /&gt;
&lt;br /&gt;
=== MSys Developer Toolkit  ===&lt;br /&gt;
&lt;br /&gt;
Use the installer found at http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe &lt;br /&gt;
&lt;br /&gt;
Go through the wizard, keeping default values &lt;br /&gt;
&lt;br /&gt;
=== AutoTools and libcrypt  ===&lt;br /&gt;
&lt;br /&gt;
Update autoconf, automake, libtool as well as libcrypt by downloading the following files and extracting them to C:\Msys\1.0: &lt;br /&gt;
&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download&lt;br /&gt;
*http://sourceforge.net/projects/mingw/files/MSYS/libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download &lt;br /&gt;
*http://prdownloads.sourceforge.net/mingw/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma&lt;br /&gt;
&lt;br /&gt;
=== Glib and PKG-CONFIG  ===&lt;br /&gt;
&lt;br /&gt;
Similarly, download the following files and extract them to C:\MSys\1.0: &lt;br /&gt;
&lt;br /&gt;
Note* Download the latest version inside this folders:&lt;br /&gt;
&lt;br /&gt;
*http://ftp.gnome.org/pub/GNOME/binaries/win32/glib&lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip &lt;br /&gt;
*ftp://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.23-3_win32.zip&lt;br /&gt;
&lt;br /&gt;
=== Add pkg config path variable  ===&lt;br /&gt;
&lt;br /&gt;
Add the following line to the *top* of C:\MSys\1.0\msys.bat: &lt;br /&gt;
&lt;br /&gt;
 set PKG_CONFIG_PATH=/win32/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
=== Fix libtool search dirs  ===&lt;br /&gt;
&lt;br /&gt;
Open C:\MSys\1.0\bin\libtool and change line 9926 by appending &#039; /mingw/lib&#039; to the end of &#039;compiler_lib_search_dirs&#039;. The line should then read&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 compiler_lib_search_dirs=&amp;quot;/usr/lib /usr/lib /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1 /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /usr/lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/lib /mingw/lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== LUA tools  ==&lt;br /&gt;
&lt;br /&gt;
VLC uses the LUA scripting language (See [http://www.lua.org lua.org]). Unfortunately, no binaries are provided so you need to compile them. &lt;br /&gt;
&lt;br /&gt;
*Download the lua tools package from http://www.lua.org/ftp/lua-5.1.4.tar.gz &lt;br /&gt;
*Uncompress it in your home folder (C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;) &lt;br /&gt;
*run C:\MSys\1.0\msys.bat &lt;br /&gt;
*type the following commands:&lt;br /&gt;
&lt;br /&gt;
 cd ~/lua-5.1.4 &lt;br /&gt;
 make mingw&lt;br /&gt;
&lt;br /&gt;
This should produce lua.exe, luac.exe and lua51.dll in the src directory. Put these in your /bin with the commands: &lt;br /&gt;
&lt;br /&gt;
 cd src &lt;br /&gt;
 cp *.exe /bin&lt;br /&gt;
 cp *.dll /bin&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
= Precompiled contribs  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: Alternatively, you can get the latest contrib from&amp;amp;nbsp;:http://people.videolan.org/~jb/Contribs/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*download the file http://people.videolan.org/~jb/Contribs/contrib-20100608-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0 &#039;&#039;&#039;but without the /usr path&#039;&#039;&#039;. For example, one of the resulting files should be:&lt;br /&gt;
&lt;br /&gt;
 C:\MSys\1.0\win32\lib\libdvdnav.a&lt;br /&gt;
&lt;br /&gt;
Contribs are basically some precompiled 3rd party library (Here&#039;s a [[Contrib_Status|list]] of what they all are).&lt;br /&gt;
&lt;br /&gt;
= VLC sources  =&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: This section lists the steps for VLC version 1.1.0rc3. Alternatively, you could get the latest sources from the development tree using GIT. It&#039;s not as difficult as it looks to do so. If you want chose that route, please follow instructions on the [[Git Windows]] page (just download the VLC repository--you don&#039;t need the x264 one) then skip the next section &amp;quot;Last Change&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Base: VLC version 1.1.0rc3  ==&lt;br /&gt;
&lt;br /&gt;
*download the file http://download.videolan.org/pub/videolan/testing/vlc-1.1.0-rc3/vlc-1.1.0-rc3.tar.bz2 &lt;br /&gt;
*extract it to C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt; &lt;br /&gt;
*rename the vlc-1.1.0rc3 dir to vlc&lt;br /&gt;
&lt;br /&gt;
== add missing configure-msys (1.1.x only)==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-msys.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
== add missing configure-common (1.1.x only) ==&lt;br /&gt;
* Download http://git.videolan.org/?p=vlc.git;a=blob_plain;f=extras/package/win32/configure-common.sh;hb=HEAD&lt;br /&gt;
* Save it (not using proposed name) as C:\msys\1.0\home\&amp;lt;username&amp;gt;\vlc\extras\package\win32\configure-common.sh&lt;br /&gt;
&lt;br /&gt;
= Last change&amp;amp;nbsp;: whoami and hostname  =&lt;br /&gt;
&lt;br /&gt;
Whoami is not available on Windows, and hostname doesn&#039;t support the -f option used by the build process. These utilities are used to show the name and computer of the person who compiled VLC in the &#039;About&#039; box. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note for the brave&amp;amp;nbsp;: the steps below are file changes so that compile works, but an alternative is to download and install GNU whoami and hostname functionality. This can be achieved by extracting who.exe, whoami.exe and hostname.exe from http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-2/coreutils-5.97-2-msys-1.0.11-ext.tar.lzma/download and saving them to C:/MSys/1.0/bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Whoami  ==&lt;br /&gt;
&lt;br /&gt;
Create a new file containing the single line: &lt;br /&gt;
&lt;br /&gt;
 echo &#039;&amp;amp;lt;username&amp;amp;gt;&#039;&lt;br /&gt;
&lt;br /&gt;
and save it as C:\MSys\1.0\bin\whoami (without any extension) &lt;br /&gt;
&lt;br /&gt;
== Hostname  ==&lt;br /&gt;
&lt;br /&gt;
Modify configure.ac so that it doesn&#039;t call &#039;hostname -f&#039; as follows: &lt;br /&gt;
&lt;br /&gt;
*open C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\vlc\configure.ac &lt;br /&gt;
*goto search button:&lt;br /&gt;
*change it as follows:&lt;br /&gt;
&lt;br /&gt;
 old: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname -f 2&amp;amp;gt; /dev/null || hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
 new: AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, &amp;quot;`hostname`&amp;quot;, [host which ran configure])&lt;br /&gt;
&lt;br /&gt;
= Build VLC  =&lt;br /&gt;
&lt;br /&gt;
The build is made exclusively from the command line, so if you closed the prompt at the LUA step, re-execute C:\MSys\1.0\msys.bat, then type the commands as mentioned &lt;br /&gt;
&lt;br /&gt;
== intl.dll ==&lt;br /&gt;
 VLC is the first program I&#039;ve attempted to compile, so maybe someone more experienced could update this.&lt;br /&gt;
&lt;br /&gt;
Running the bootstrap script required intl.dll.  From trial and error I found:&lt;br /&gt;
1) A good copy of intl.dll from https://svn.modevia.com/inkscape/devlibs/bin/&lt;br /&gt;
2) Put the dll file in C:\msys\1.0\bin\&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Bootstrap  ==&lt;br /&gt;
&lt;br /&gt;
 cd vlc&lt;br /&gt;
 cp -v /usr/win32/share/aclocal/* m4/&lt;br /&gt;
 cp -v /usr/share/aclocal/* m4/&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH ./bootstrap&lt;br /&gt;
&lt;br /&gt;
== Configure  ==&lt;br /&gt;
&lt;br /&gt;
 sh extras/package/win32/configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
If you want any custom options, like &amp;quot;--disable-lua&amp;quot; or anything of that nature, you&#039;ll need to edit that file directly instead of passing them in as parameters (at least currently that is required).&lt;br /&gt;
&lt;br /&gt;
== Make (compile) ==&lt;br /&gt;
&lt;br /&gt;
Note&amp;amp;nbsp;: If your &amp;amp;lt;username&amp;amp;gt; starts with the &amp;quot;u&amp;quot; or &amp;quot;x&amp;quot; character, change C:\MSys\1.0\home\&amp;amp;lt;username&amp;amp;gt;\config.h and double all backslashes in VLC_COMPILED_BY constant. &lt;br /&gt;
&lt;br /&gt;
Type the following command&amp;amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
 PATH=/usr/win32/bin:$PATH make&lt;br /&gt;
&lt;br /&gt;
== Create self-contained packages  ==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, build self-contained VLC packages with one of the following &amp;quot;make&amp;quot; commands: &lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols). &lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file). &lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base-debug&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries containing debug info usable by gdb).&lt;br /&gt;
&lt;br /&gt;
Note that with the 1.2 branch these names have changed slightly.  Run &#039;&lt;br /&gt;
 grep &#039;:&#039; Makefile | grep package-win32&lt;br /&gt;
to see what they are now.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
See [[Win32CompileMSYSTroubleShooting]].&lt;/div&gt;</summary>
		<author><name>Op157</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileCygwinNew&amp;diff=17184</id>
		<title>Win32CompileCygwinNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileCygwinNew&amp;diff=17184"/>
		<updated>2010-10-12T03:08:20Z</updated>

		<summary type="html">&lt;p&gt;Op157: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a new version of the Win32CompileCygwin written by [[User:J-b|Jean-Baptiste Kempf]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This version ONLY works for 0.9.x, for 1.0.x and for 1.1.x.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: building VLC on Cygwin has ever been a failure-prone task. It is also very slow (specially if you enable debug and optimizations). If you want to build on windows, [[Win32CompileMSYSNew]] is a much better option.  Otherwise, you should strongly consider cross-compiling from Linux (on a virtual machine, via dual-boot or from another computer). You were warned.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
This is a guide for Windows users with a step-by-step instruction to download, install, configure and build your VLC.&lt;br /&gt;
&lt;br /&gt;
This guide uses [http://www.cygwin.com &#039;&#039;&#039;Cygwin&#039;&#039;&#039;] a Linux-like environment for Windows used for compilation of the VLC source code.&lt;br /&gt;
&lt;br /&gt;
Start off by creating a VLC and a download folder on your hard drive where you can put all the installation files:&lt;br /&gt;
&lt;br /&gt;
 C:\VLC\&lt;br /&gt;
 C:\VLC\Downloads&lt;br /&gt;
&lt;br /&gt;
For further reference, the assumption is made that the local user will be &#039;Administrator&#039;.&lt;br /&gt;
&lt;br /&gt;
=Cygwin=&lt;br /&gt;
&lt;br /&gt;
Download the latest [http://www.cygwin.com/cygwin/setup.exe Cygwin setup] and save it in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\VLC\Downloads\&lt;br /&gt;
&lt;br /&gt;
More info about Cygwin can be found at http://www.cygwin.com or http://sourceware.org/cygwin&lt;br /&gt;
&lt;br /&gt;
==Selecting Cygwin packages to install==&lt;br /&gt;
&lt;br /&gt;
Run the setup program with the following options:&lt;br /&gt;
&lt;br /&gt;
Installation type : Install from Internet (default)&lt;br /&gt;
&lt;br /&gt;
Root directory : C:\cygwin (default)&lt;br /&gt;
&lt;br /&gt;
Local Package directory : C:\VLC\Downloads\cygwin (your download location)&lt;br /&gt;
&lt;br /&gt;
Internet Connection : Direct Connection (preferred, if it fails try another)&lt;br /&gt;
&lt;br /&gt;
Download Site : Choose a download site closest to you (FTP preferred)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the &amp;quot;Select Packages&amp;quot; section of the installation process you can select packages by clicking the button with the rotating 2 arrows. (This is under the &amp;quot;New&amp;quot; section). It shows &amp;quot;Skip&amp;quot; next to the button if the package isn&#039;t selected yet.&lt;br /&gt;
&lt;br /&gt;
Clicking the button a few times will rotate through the possible package versions including &amp;quot;Skip&amp;quot; (meaning do not install or remove if installed) and &amp;quot;Keep&amp;quot; (meaning keep using the current installed version). If a package was already installed it will also show the &amp;quot;Current&amp;quot; version just to the left of it.&lt;br /&gt;
&lt;br /&gt;
Select the following packages (some others will automatically be selected as well):&lt;br /&gt;
&lt;br /&gt;
 Archive&lt;br /&gt;
   unzip&lt;br /&gt;
   zip&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   autoconf&lt;br /&gt;
   automake&lt;br /&gt;
   binutils&lt;br /&gt;
   cvs (optional: for building extras/contrib)&lt;br /&gt;
   gcc&lt;br /&gt;
   gcc-core&lt;br /&gt;
   gcc-g++&lt;br /&gt;
   gcc-mingw&lt;br /&gt;
   gcc-mingw-core&lt;br /&gt;
   gcc-mingw-g++&lt;br /&gt;
   gdb&lt;br /&gt;
   gettext&lt;br /&gt;
   gettext-devel&lt;br /&gt;
   git&lt;br /&gt;
   libgcrypt-devel&lt;br /&gt;
   libiconv&lt;br /&gt;
   libtool&lt;br /&gt;
   make&lt;br /&gt;
   mingw-runtime&lt;br /&gt;
   nasm&lt;br /&gt;
   patchutils&lt;br /&gt;
   pkg-config&lt;br /&gt;
   subversion (optional: for building extras/contrib)&lt;br /&gt;
&lt;br /&gt;
 Editor&lt;br /&gt;
   vim&lt;br /&gt;
&lt;br /&gt;
 Libs&lt;br /&gt;
   expat&lt;br /&gt;
   libgcrypt&lt;br /&gt;
&lt;br /&gt;
 Utils&lt;br /&gt;
   ncurses&lt;br /&gt;
&lt;br /&gt;
 Web&lt;br /&gt;
   curl (optional: for building extras/contrib)&lt;br /&gt;
   wget (optional: for building extras/contrib)&lt;br /&gt;
&lt;br /&gt;
==Cygwin environment==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin from the icon on your desktop (With Windows Vista run it with admin rights, so right click and select &amp;quot;Run as administrator&amp;quot;). If it runs for the first time it will automatically create a home\&amp;quot;username&amp;quot; folder in the Cygwin environment; user being the currently logged on Windows user. Assuming this is the &#039;Administrator&#039; user it will create the following folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: On your desktop, you can rightclick the Cygwin icon and (in the Options field of the Cygwin Properties) set the Command history Buffer size to as large as possible: 999. This setting will make it possible to scroll back further in the Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
=VLC source code=&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
The very latest VLC source code can be obtained through a tool called [[Git]]. The Cygwin package we&#039;re about to install comes with an internal git component.&lt;br /&gt;
&lt;br /&gt;
 cd /cygdrive/c/VLC/&lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc.git&lt;br /&gt;
&lt;br /&gt;
or if you just want to download latest VLC revision (saves bandwidth)&lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc.git --depth 1&lt;br /&gt;
&lt;br /&gt;
or if your proxy denies git protocol connections use:&lt;br /&gt;
&lt;br /&gt;
 git clone http://git.videolan.org/git/vlc.git&lt;br /&gt;
&lt;br /&gt;
In this case you need to set the proxy address first:&lt;br /&gt;
&lt;br /&gt;
 export http_proxy = &amp;lt;proxy&amp;gt;:&amp;lt;port&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If git fails for some reason, then please try to use git from basic Windows command prompt (Start -&amp;gt; Run -&amp;gt; cmd), not from Cygwin shell.&lt;br /&gt;
&lt;br /&gt;
Please note that the very latest VLC sources (&amp;quot;master&amp;quot; branch) does not necessary build fine all the time. So if you need something stable, better is to use a git tag or a version snapshot archive.&lt;br /&gt;
&lt;br /&gt;
== Snapshots ==&lt;br /&gt;
&lt;br /&gt;
You can do the same by using the snapshots in the [http://nightlies.videolan.org/ nightly builds] site.&lt;br /&gt;
&lt;br /&gt;
== Specific Version ==&lt;br /&gt;
&lt;br /&gt;
You can get a specific version of VLC source code from the [http://download.videolan.org/pub/videolan/vlc/ source ftp] directory.&lt;br /&gt;
&lt;br /&gt;
Another option is to sync specific version represented by a tag in git:&lt;br /&gt;
&lt;br /&gt;
 git checkout &amp;lt;version&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;version&amp;gt; is one like: 1.0.1, 1.0.2, ..&lt;br /&gt;
&lt;br /&gt;
=Bootstrap=&lt;br /&gt;
First move to vlc folder, if you aren&#039;t already there&lt;br /&gt;
&lt;br /&gt;
 cd vlc&lt;br /&gt;
&lt;br /&gt;
and then run bootstrap.&lt;br /&gt;
&lt;br /&gt;
dos2unix botstrap&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
You should go through dos2unix for every script which produces errors related to &#039;\r&#039;&lt;br /&gt;
&lt;br /&gt;
It might fail with some &#039;&#039;&#039;unable to remap error &amp;lt;some_dll_file_name&amp;gt;&#039;&#039;&#039;. It seems you need to rebase all Cygwin DLLs: close all your cygwin applications and launch &#039;ash&#039; from basic windows command prompt (Start -&amp;gt; Run -&amp;gt; cmd), from there run rebaseall (so start e.g. C:\cygwin\bin\ash.exe and type there text below).&lt;br /&gt;
&lt;br /&gt;
 /bin/rebaseall -v&lt;br /&gt;
&lt;br /&gt;
= External libraries to the source code=&lt;br /&gt;
&lt;br /&gt;
VLC depends on other libraries (code) to provide some features like AC3 audio or MPEG-4 video encoding/decoding etc.&lt;br /&gt;
&lt;br /&gt;
Depending on your needs you will have to install and compile some or all of these external libraries. &lt;br /&gt;
&lt;br /&gt;
== Get the Win32 &amp;quot;contrib&amp;quot; package ==&lt;br /&gt;
&lt;br /&gt;
A package with most of these libraries already compiled so it&#039;s actually really easy to compile a full-featured version of vlc can be found here:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
or&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/&lt;br /&gt;
or take&lt;br /&gt;
 ftp://ftp.videolan.org/pub/vlc/1.0.0/win32/contrib-1.0.0.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Download the latest version of a &amp;quot;contrib&amp;quot; package for win32:&lt;br /&gt;
&lt;br /&gt;
 contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 (this is an &#039;&#039;&#039;example&#039;&#039;&#039; so &#039;&#039;&#039;DON&#039;T&#039;&#039;&#039; download packages this old, unless you really have to!)&lt;br /&gt;
&lt;br /&gt;
It&#039;s a good idea to check the INSTALL.Win32 file in the VLC source directory for the appropriate contrib download file if you build older VLC versions.&lt;br /&gt;
&lt;br /&gt;
Save it into your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\VLC\Downloads\&lt;br /&gt;
&lt;br /&gt;
==Installing the Win32 &amp;quot;contrib&amp;quot; package in Cygwin==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
 &lt;br /&gt;
 rm -rf /usr/win32&lt;br /&gt;
 cd /cygdrive/c/VLC/Downloads&lt;br /&gt;
 tar xf contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 -C /&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the &amp;quot;contrib&amp;quot; file and DON&#039;T FORGET THE / (slash)&lt;br /&gt;
at the end.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into usr/win32 folder within your Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version (/usr/win32 folder) instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
Version 1.0.2 of VLC source code has been tested and found working with contrib-20091020-win32-bin-gcc-4.2.1-sjlj-runtime-3.15.2-only.tar.bz2&lt;br /&gt;
&lt;br /&gt;
==Keeping the Win32 &amp;quot;contrib&amp;quot; package up-to-date==&lt;br /&gt;
&lt;br /&gt;
For maintenance purposes periodically check:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
==QT4 issues==&lt;br /&gt;
There are some QT4 and winapi issues (like &#039;&#039;&#039;InterlockedCompareExchange&#039;&#039;&#039; error) which you can work out with information you get from http://forum.videolan.org/viewtopic.php?f=14&amp;amp;t=50360&amp;amp;p=164758&amp;amp;hilit=win32api#p164219 and http://forum.videolan.org/viewtopic.php?f=14&amp;amp;p=175301#p175301 threads. If you don&#039;t plan to compile QT4 or skins2 interface, you can skip this.&lt;br /&gt;
&lt;br /&gt;
=Configure=&lt;br /&gt;
&lt;br /&gt;
In order to make our lives just a bit easier the following section describes what commandline options should be used for compiling and those commands will then be put into a &amp;quot;script&amp;quot; that can be executed (rather than having to copy and paste all the time).&lt;br /&gt;
&lt;br /&gt;
==Configure script for compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
  PATH=/usr/win32/bin:$PATH \&lt;br /&gt;
  PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I/usr/win32/include -I/usr/win32/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L/usr/win32/lib \&lt;br /&gt;
  CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --host=i686-pc-mingw32 \&lt;br /&gt;
      --enable-nls \&lt;br /&gt;
      --enable-sdl --with-sdl-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --enable-live555 --with-live555-tree=/usr/win32/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-dvdnav-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-goom \&lt;br /&gt;
      --enable-dvdread \&lt;br /&gt;
      --enable-debug --disable-optimizations \&lt;br /&gt;
      --disable-mkv --disable-taglib --disable-zvbi --disable-dirac --disable-x264 --disable-fluidsynth&lt;br /&gt;
&lt;br /&gt;
This command is tested and configures VLC 1.0.2 properly so that it builds fine.&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options are added for debug purposes and makes the final package a bit larger but the advantage is it&#039;s easier to debug in case of crash reports:&lt;br /&gt;
&lt;br /&gt;
 --disable-optimizations&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to report a crash bug to the VLC team, it is necessary that you provide a stack backtrace. Unfortunately, Windows automatic crash reporter cannot generate such a backtrace as debug symbols used by GCC compiler aren&#039;t understood by Windows, therefore we suggest that you install Dr. MinGW (http://jrfonseca.dyndns.org/projects/gnu-win32/software/drmingw/) which will extend Windows Just-In-Time Debugger and provide the necessary debug information.&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options is needed for Qt4 support:&lt;br /&gt;
&lt;br /&gt;
 --enable-qt4&lt;br /&gt;
&lt;br /&gt;
As of version 0.9.0 VLC will include the Qt interface. More information can be found about QT here: http://www.trolltech.com&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Win32 contrib package&amp;quot; at present includes the linux and Windows equivalents of uic, moc and roc executables which are required for building this interface.&lt;br /&gt;
&lt;br /&gt;
The linuxs executables have to be &#039;&#039;&#039;deleted&#039;&#039;&#039; from the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic (example)&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
 &lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
After your configure-vlc.sh is completed, copy it to your vlc directory and run it:&lt;br /&gt;
&lt;br /&gt;
 ./configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
If it complains about permissions, use chmod and try again:&lt;br /&gt;
&lt;br /&gt;
 chmod 777 configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
NOTE. (If you plan to use JVLC) To make vlc-control.dll accessible by Java on &#039;&#039;Windows&#039;&#039; configure-vlc.sh should be modified to include &amp;quot;-Wl,--add-stdcal-alias&amp;quot;. Example:&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 CC=&amp;quot;gcc -mno-cygwin -Wl,--add-stdcall-alias&amp;quot; CXX=&amp;quot;g++ -mno-cygwin -Wl,--add-stdcall-alias&amp;quot; \&lt;br /&gt;
 ./configure \&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
===Mozilla plugin===&lt;br /&gt;
&lt;br /&gt;
If you want to build Mozilla plugin, add this to your configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
 --enable-mozilla --with-mozilla-sdk-path=/usr/win32/gecko-sdk&lt;br /&gt;
&lt;br /&gt;
If configure-vlc.sh goes correctly, you should see &#039;&#039;&#039;plugins/bindings : activex mozilla&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===POSIX emulation layer===&lt;br /&gt;
&lt;br /&gt;
VLC can be built with or without the so called POSIX emulation layer. Without is the default and is usually better (and with hasn&#039;t been tested for quite some time). If you do want to use the emulation layer, then just leave out the line with the following options:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Compiling source code=&lt;br /&gt;
&lt;br /&gt;
It&#039;s time to start Cygwin again...&lt;br /&gt;
&lt;br /&gt;
==Compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc&lt;br /&gt;
&lt;br /&gt;
NOTE: Open /cygdrive/c/VLC/libtool in text editor and if &amp;quot;global_symbol_pipe =&amp;quot; line is blank, replace it with :&lt;br /&gt;
&lt;br /&gt;
 global_symbol_pipe=&amp;quot;sed -n -e &#039;s/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       ][      ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1\\2\\3 \\3/p&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Build it! (remember to run configure-vlc.sh before first build)&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Cross your fingers and wait... because it might take few hours before compilation is done.&lt;br /&gt;
If you have multicore CPU or multi CPU box, you can use -j2 switch (or maybe -j3 or -j4 etc.) to speed up make process&lt;br /&gt;
&lt;br /&gt;
 make -j2&lt;br /&gt;
&lt;br /&gt;
==Creating self contained packages==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can build self-contained VLC packages with the following &amp;quot;make&amp;quot; commands:&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file).&lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
* If you have permissions problems running make package-*, chmod 777 -R the vlc folder.&lt;br /&gt;
* If you have permissions problems running vlc.exe after packaging, rename or delete vlc.exe.manifest&lt;br /&gt;
&lt;br /&gt;
=Advanced usage=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating Cygwin package versions==&lt;br /&gt;
&lt;br /&gt;
If you need to update or install additional packages you can just run the Cygwin setup.exe from your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin\setup.exe          (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GDB (Gnu Debugger)==&lt;br /&gt;
&lt;br /&gt;
This section requires that you installed the gdb (Gnu Debugger) in Cygwin.&lt;br /&gt;
&lt;br /&gt;
This is a typical example of creating a crashlog:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 gdb --args vlc.exe --fast-mutex --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
NOTE: vlc-0.9.0 uses libtool for building sources, if you want to debug from the source tree, you should type the following command instead:&lt;br /&gt;
&lt;br /&gt;
 libtool --mode=execute gdb --args vlc --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
In the debugger mode run the program and make sure you reset the preferences!&lt;br /&gt;
&lt;br /&gt;
 (gdb) run &lt;br /&gt;
&lt;br /&gt;
NOTE: the (gdb) is just a prompt which means you are in the debugger mode, please note that &#039;&#039;--fast-mutex&#039;&#039; option is no longer supported in vlc-0.9.0&lt;br /&gt;
&lt;br /&gt;
It will now take a lot longer than usual for VLC to start :)&lt;br /&gt;
&lt;br /&gt;
Now operate VLC as you would normally do. As soon as a crash issue occurs&lt;br /&gt;
you&#039;ll notice a line like this:&lt;br /&gt;
&lt;br /&gt;
 Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
 0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29)&lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 459             i = i_bottom + ( i_top - i_bottom ) / 2;&lt;br /&gt;
&lt;br /&gt;
Now you can do a &amp;quot;backtrace&amp;quot; by using the bt command:&lt;br /&gt;
&lt;br /&gt;
 (gdb) bt&lt;br /&gt;
&lt;br /&gt;
And output similar to this will be created:&lt;br /&gt;
&lt;br /&gt;
 #0  0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29) &lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 #1  0x0b26bbf7 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29fef8}) at playlist.cpp:695&lt;br /&gt;
 #2  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29e8b0}) at playlist.cpp:689&lt;br /&gt;
 #3  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29a818}) at playlist.cpp:689&lt;br /&gt;
 #4  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x299718}) at playlist.cpp:689&lt;br /&gt;
 #5  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0xffff0000}) at playlist.cpp:689&lt;br /&gt;
 #6  0x0b26bf49 in wxvlc::Playlist::AppendItem (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:564&lt;br /&gt;
 #7  0x0b2757fc in wxvlc::Playlist::OnPlaylistEvent (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:1438&lt;br /&gt;
 #8  0x0b3771b8 in wxEvtHandler::ProcessEventIfMatches ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #9  0x0b376a1c in wxEventHashTable::HandleEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #10 0x0b37730d in wxEvtHandler::ProcessEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #11 0x0b37711b in wxEvtHandler::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 #12 0x0b376017 in wxAppConsole::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #13 0x0b3ec75a in wxIdleWakeUpModule::MsgHookProc ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/bmpbuttn.h:81&lt;br /&gt;
 #14 0x773aca2d in USER32!GetScrollRange ()&lt;br /&gt;
    from /cygdrive/c/WINDOWS/system32/user32.dll&lt;br /&gt;
 #15 0x00000000 in ?? () from&lt;br /&gt;
 (gdb)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To backtrace all the running threads use:&lt;br /&gt;
&lt;br /&gt;
 (gdb) thread apply all bt&lt;br /&gt;
&lt;br /&gt;
These are the log outputs that are more usefull to developers than just mentioning &amp;quot;it crashes&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
NOTE: In GDB mode there are sometimes situations where GDB initially &amp;quot;crashes&amp;quot; on certain network activity (opening network shares, network traffic) which in normal operation does not occur. Just select c for continue until &amp;quot;normal&amp;quot; operation continues.&lt;br /&gt;
&lt;br /&gt;
== Common errors ==&lt;br /&gt;
===vlc.exe: Permission denied===&lt;br /&gt;
&lt;br /&gt;
A make finished successfully and produced vlc.exe, but running the executable returns the following:&lt;br /&gt;
&lt;br /&gt;
 bash: ./vlc.exe: Permission denied&lt;br /&gt;
&lt;br /&gt;
The permissions on both vlc.exe &amp;amp; vlc.exe.manifest must be set to executable. &lt;br /&gt;
&lt;br /&gt;
FIX: Type the following:&lt;br /&gt;
 &lt;br /&gt;
 chmod 755 vlc.exe vlc.exe.manifest&lt;br /&gt;
&lt;br /&gt;
===error: parse error before &#039;(&#039; token===&lt;br /&gt;
&lt;br /&gt;
A make (compile) of FFmpeg results in the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/include/sys/unistd.h:203: error: parse error before &#039;(&#039; token&lt;br /&gt;
 make[1]: *** [ffm.o] Error 1&lt;br /&gt;
&lt;br /&gt;
It&#039;s very likely you are usix the POSIX emulater which you shouldn&#039;t...&lt;br /&gt;
&lt;br /&gt;
FIX: compile with the option &lt;br /&gt;
&lt;br /&gt;
 -mno-cygwin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token===&lt;br /&gt;
&lt;br /&gt;
 In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32&lt;br /&gt;
 api/windows.h:52,&lt;br /&gt;
                  from ../../../include/vlc_common.h:459,&lt;br /&gt;
                  from ../../../include/vlc/vlc.h:153,&lt;br /&gt;
                  from dshow.cpp:31:&lt;br /&gt;
 /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wingdi.h:3:1: warn&lt;br /&gt;
 ing: this is the location of the previous definition&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:14: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:5552: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:45,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/strmif.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dsound.h:13,&lt;br /&gt;
                  from /usr/win32/include/amaudio.h:18,&lt;br /&gt;
                  from /usr/win32/include/dshow.h:47,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:22: warning: ignoring #pragma warning&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:1813: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:48,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/control.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 dshow.cpp: In function `int CommonOpen(vlc_object_t*, access_sys_t*, vlc_bool_t)&lt;br /&gt;
 &#039;:&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;=&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:485: error: expected `;&#039; before &amp;quot;IAMCrossbar&amp;quot;&lt;br /&gt;
 dshow.cpp:491: error: `pXbar&#039; undeclared (first use this function)&lt;br /&gt;
 dshow.cpp:491: error: (Each undeclared identifier is reported only once for each&lt;br /&gt;
 function it appears in.)&lt;br /&gt;
 make[6]: *** [libdshow_plugin_a-dshow.o] Error 1&lt;br /&gt;
 make[6]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[5]: *** [all-modules] Error 1&lt;br /&gt;
 make[5]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[4]: *** [all-recursive] Error 1&lt;br /&gt;
 make[4]: Leaving directory `/home/Administrator/vlc-trunk/modules/access&#039;&lt;br /&gt;
 make[3]: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
Basically in case of conflict svn adds &amp;quot;&amp;lt;&amp;lt;&amp;lt; mine&amp;quot; and &amp;quot;=======&amp;quot; and &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; r1242&amp;quot; which makes gcc complain.&lt;br /&gt;
&lt;br /&gt;
FIX: revert the offending file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Objective C source seen but `OBJC&#039; is undefined===&lt;br /&gt;
&lt;br /&gt;
The configure process stops halfway.&lt;br /&gt;
&lt;br /&gt;
 + aclocal-1.9 -I m4&lt;br /&gt;
 + autoconf&lt;br /&gt;
 + autoheader&lt;br /&gt;
 + automake-1.9 --add-missing --copy -Wall&lt;br /&gt;
 configure.ac: installing `autotools/install-sh&#039;&lt;br /&gt;
 configure.ac: installing `autotools/missing&#039;&lt;br /&gt;
 activex/Makefile.am:143: shell $(VLC_CONFIG: non-POSIX variable name&lt;br /&gt;
 activex/Makefile.am:143: (probably a GNU make extension)&lt;br /&gt;
 activex/Makefile.am: installing `autotools/compile&#039;&lt;br /&gt;
 activex/Makefile.am: installing `autotools/depcomp&#039;&lt;br /&gt;
 modules/gui/macosx/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 modules/misc/testsuite/Makefile.am: Objective C source seen but `OBJC&#039; is undefi&lt;br /&gt;
 ned&lt;br /&gt;
 src/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 Makefile.am:282: user target `vlc$(EXEEXT)&#039; defined here...&lt;br /&gt;
 /usr/share/automake-1.9/am/program.am: ... overrides Automake target `vlc$(EXEEX&lt;br /&gt;
 T)&#039; defined here&lt;br /&gt;
 Makefile.am:230:   while processing program `vlc&#039;&lt;br /&gt;
 make: *** No targets specified and no makefile found.  Stop.&lt;br /&gt;
 &lt;br /&gt;
This problem is related to a warning earlier on and only occured in a few revisions where a built-in workaround wasn&#039;t working properly:&lt;br /&gt;
&lt;br /&gt;
 + echo &#039;Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&#039;&lt;br /&gt;
 Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&lt;br /&gt;
&lt;br /&gt;
FIX: update autoconf to 2.60 or newer. If Cygwin doesn&#039;t provide this version yet then build it yourself from extras/contrib.&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/extras/contrib&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
 cd src&lt;br /&gt;
&lt;br /&gt;
 make .autoconf&lt;br /&gt;
&lt;br /&gt;
There should now be compiled autoconf version (probably 2.60 or newer) in extras/contrib that the bootstrap process will use.&lt;br /&gt;
&lt;br /&gt;
Now start the whole &amp;quot;Compile VLC&amp;quot; process from the start again.&lt;br /&gt;
&lt;br /&gt;
===Error: cannot create temporary file for diversion: Permission denied===&lt;br /&gt;
&lt;br /&gt;
If the above error appears, it might mean you don&#039;t have the TMPDIR defined in cygwin. You will need to define it and have its value point to your temporary directory. You can use &#039;&#039;&#039;export TMPDIR=&amp;quot;/cygdrive/c/temp&amp;quot;&#039;&#039;&#039; or any directory for it (/cygdrive/c/temp is same as C:\temp). If this doesn&#039;t help, make sure you run cygwin with admin rights (With Windows Vista, right click cygwin shortcut and select &amp;quot;Run as administrator&amp;quot;). Avira AntiVir might also cause issues to m4, so disabling it while ./bootstrap might help.&lt;br /&gt;
&lt;br /&gt;
==Compiling faster==&lt;br /&gt;
Building VLC on Cygwin is really slow, but you can spend less time recompiling by using [http://ccache.samba.org/ ccache]. This software saves  the files compiled with their compilation command, and output them if they were not changed and if the compilation command is the same as last build. It is really useful for frequent make clean &amp;amp;&amp;amp; make. To use it, change the CC line in your configure script to:&lt;br /&gt;
&lt;br /&gt;
  CC=&amp;quot;ccache gcc -mno-cygwin&amp;quot; CXX=&amp;quot;ccache g++ -mno-cygwin&amp;quot; \&lt;br /&gt;
&lt;br /&gt;
The first build after reconfiguring will be as slow as ever, but the following builds will be faster.&lt;br /&gt;
&lt;br /&gt;
=Version=&lt;br /&gt;
&lt;br /&gt;
20050627 Initial version&lt;br /&gt;
&lt;br /&gt;
20050628 Updated some more exceptions&lt;br /&gt;
&lt;br /&gt;
20050628 Some info added about FFmpeg compiling with AMR&lt;br /&gt;
&lt;br /&gt;
20050629 Finalized FFmpeg compiling&lt;br /&gt;
&lt;br /&gt;
20050630 Cross-compiling&lt;br /&gt;
&lt;br /&gt;
20050724 Some extra compile explanations&lt;br /&gt;
&lt;br /&gt;
20050726 Removed cross-compiling (was for linux -&amp;gt; win32) Patching source code with .diff files&lt;br /&gt;
&lt;br /&gt;
20050823 Added zlib error&lt;br /&gt;
&lt;br /&gt;
20050923 --enable-sdl --with-sdl-config-path=/usr/win32/bin added to configure. Added debug section&lt;br /&gt;
&lt;br /&gt;
20051102 Changed FFmpeg lib names&lt;br /&gt;
&lt;br /&gt;
20051128 Detailed Cygwin upgrade/downgrade for gcc 3.3. Renamed some update scripts. Added FFmpeg CVS update. --disable-gnomevfs added to configure (only used on linux)&lt;br /&gt;
&lt;br /&gt;
20060121 PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig added to configure&lt;br /&gt;
&lt;br /&gt;
20060128 Added curl and libtool to Cygwin for those that want to be able to build extras/contrib themselves&lt;br /&gt;
&lt;br /&gt;
20060217 Added make install-libs install-headers to FFmpeg compile&lt;br /&gt;
&lt;br /&gt;
20060222 Remark about missing &amp;quot;gettext&amp;quot; libs for Cygwin during install&lt;br /&gt;
&lt;br /&gt;
20060225 ./bootstrap: you need libtool&lt;br /&gt;
&lt;br /&gt;
20060618 Updated GCC to 3.4 version and added FFmpeg SVN and DTS support&lt;br /&gt;
&lt;br /&gt;
20060805 Added note about using older binutils and gdb for Cygwin!&lt;br /&gt;
&lt;br /&gt;
20060915 Added note about updating autoconf from extras/contrib for an OBJC problem during configure&lt;br /&gt;
&lt;br /&gt;
20061108 Added note this document is no longer usable since Cygwin has been unusable probably related to some bash/dos2unix change&lt;br /&gt;
&lt;br /&gt;
20070612 Added note about --enable-dca&lt;br /&gt;
&lt;br /&gt;
20080228 New version by [[User:J-b|jb]]&lt;br /&gt;
&lt;br /&gt;
20080307 Added --host=i686-pc-mingw32 option to the configure script&lt;br /&gt;
&lt;br /&gt;
20080311 Simplification&lt;br /&gt;
&lt;br /&gt;
20080323 Added some tips for Vista &lt;br /&gt;
&lt;br /&gt;
20081001 git should now work from Cygwin again&lt;br /&gt;
&lt;br /&gt;
20081010 expat has moved to under Libs&lt;br /&gt;
&lt;br /&gt;
20081020 QT4 problems part added and new contrib suggestion&lt;br /&gt;
&lt;br /&gt;
20081110 Mozilla plugin addition&lt;br /&gt;
&lt;br /&gt;
20090104 sed command for gettext version change&lt;br /&gt;
&lt;br /&gt;
20090210 JB contrib location added.&lt;br /&gt;
&lt;br /&gt;
20090303 ranlib removed, it is a OPTIONAL STEP!&lt;br /&gt;
&lt;br /&gt;
20090623 Mention 1.1.x support&lt;br /&gt;
&lt;br /&gt;
20090926 Remove sed line (not needed anymore), add tips to &#039;ash&#039;, tell that version tools are optional, change lib order to alphabets&lt;br /&gt;
&lt;br /&gt;
20091023 Add some more details how to checkout with git&lt;br /&gt;
&lt;br /&gt;
20091028 Update the configure command to work fine for recent version 1.0.2&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Op157</name></author>
	</entry>
</feed>