<?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=Gozer</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=Gozer"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Gozer/"/>
	<updated>2026-11-15T10:01:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=17014</id>
		<title>Win32Compile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=17014"/>
		<updated>2010-09-07T08:09:24Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Building VLC from source */  Added link to Win32CompileFedora13&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How to compile VLC for Windows&lt;br /&gt;
&lt;br /&gt;
== Before you start  ==&lt;br /&gt;
&lt;br /&gt;
One common desire that leads people to want to rebuild VLC is to &amp;quot;rebuild a debug version&amp;quot; or &amp;quot;add printf()s&amp;quot;, but this is not strictly necessary, as VLC includes a debug logging feature by default. If you are using a binary release (or have already built VLC), just run &amp;lt;code&amp;gt;&#039;vlc.exe&#039;&amp;lt;/code&amp;gt; and select &amp;quot;Messages...&amp;quot; from the &amp;quot;Tools&amp;quot; menu. &lt;br /&gt;
&lt;br /&gt;
You can also run VLC from the Windows command-line interpreter, &amp;lt;code&amp;gt;cmd.exe&amp;lt;/code&amp;gt; (a.k.a. &amp;quot;DOS window&amp;quot;), in which case you&#039;ll be able to use the command-line arguments. You can obtain a list of these command line arguments by typing &amp;lt;code&amp;gt;&#039;vlc --help&#039;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&#039;vlc --help --advanced&#039;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To store a debug log of the current VLC session, you can use &amp;lt;code&amp;gt;&#039;vlc -vvv --extraintf=logger&#039;&amp;lt;/code&amp;gt;. You will end-up with a &amp;lt;code&amp;gt;vlc-log.txt&amp;lt;/code&amp;gt; file in your current directory. &lt;br /&gt;
&lt;br /&gt;
== Building VLC from source  ==&lt;br /&gt;
&lt;br /&gt;
If you want to build VLC from source, you have several choices: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Linux &lt;br /&gt;
| None: read this page &lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation) &amp;lt;br&amp;gt; &#039;&#039;Note: read [[Win32CompileFedora13]] if building on Fedora 13&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW] &lt;br /&gt;
| [[Win32CompileMSYSNew]] &lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; native compilation method. MSYS is a minimal build environment to compile Unixish projects under Microsoft Windows. It provides all the commonly-required Unix tools (like sh, gmake, and so forth).&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin] &lt;br /&gt;
| [[Win32CompileCygwinNew]] &lt;br /&gt;
| &#039;&#039;&#039;OUTDATED&#039;&#039;&#039; native compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with Microsoft Visual C++ &lt;br /&gt;
| None &lt;br /&gt;
| &#039;&#039;&#039;Not advised.&#039;&#039;&#039; &lt;br /&gt;
Even though VLC includes some MSVC project files, this method is advised only if you just want to experiment/play with some basic functionality in VLC. VLC depends on a lot of third-party libraries and building them in MSVC is inconvenient (and in some cases, impossible). &amp;lt;br&amp;gt; If you want to run VLC under the MSVC debugger, use &amp;lt;code&amp;gt;--fast-mutex --win9x-cv-method=1&amp;lt;/code&amp;gt; because the debugger usually loses signals sent by PulseEvent(). &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
Each build method requires its own toolchain: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with mingw32 on GNU/Linux &lt;br /&gt;
| &lt;br /&gt;
*Debian/Ubuntu users can &amp;lt;code&amp;gt;apt-get install mingw32 mingw32-binutils&amp;lt;/code&amp;gt;, however building FFmpeg now requires mingw32-runtime &amp;amp;gt;= 3.15 and w32api &amp;amp;gt;= 3.13 so these will have to be updated manually. &lt;br /&gt;
*Gentoo users can &amp;lt;code&amp;gt;emerge crossdev &amp;amp;amp;&amp;amp;amp; crossdev mingw32&amp;lt;/code&amp;gt; &lt;br /&gt;
*Other systems may attempt http://www.mingw.org/wiki/LinuxCrossMinGW&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW] &lt;br /&gt;
| Read the [[Win32CompileMSYSNew|documentation]]&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin] &lt;br /&gt;
| Read the [[Win32CompileCygwinNew|documentation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 3rd party libraries.&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
VLC modules requires numerous open source projects to work (like AC3 audio decoding or MPEG-4 video decoding). &lt;br /&gt;
&lt;br /&gt;
If you feel you must build these libraries from source, go to extras/contrib and read the README.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If you want to save yourself a lot of time and energy, use the pre-built versions of these libraries. You may download them from http://people.videolan.org/~jb/Contribs/, named in fashion of contrib-&#039;&#039;&#039;yyyymmdd&#039;&#039;&#039;-win32-&#039;&#039;&#039;version&#039;&#039;&#039;-bin-gcc-&#039;&#039;&#039;gccversion&#039;&#039;&#039;-only.tar.bz2.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install the pre-built libraries into the standard directories (/usr/win32/*) by using &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;tar jxf contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2 -C /&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
(Note the &amp;lt;code&amp;gt;&amp;quot;-C /&amp;quot;&amp;lt;/code&amp;gt;!) &lt;br /&gt;
&lt;br /&gt;
== Configuring the build  ==&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place, you need to configure the build with the &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt; script. &lt;br /&gt;
&lt;br /&gt;
Good examples can be found in some files:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;extras/package/win32/configure-mingw.sh&lt;br /&gt;
&lt;br /&gt;
extras/package/win32/configure-msys.sh&lt;br /&gt;
&lt;br /&gt;
extras/package/win32/configure-common.sh&amp;lt;/pre&amp;gt; &lt;br /&gt;
See &amp;lt;code&amp;gt;&#039;./configure --help&#039;&amp;lt;/code&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
== Building VLC  ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;&#039;make&#039;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; rules: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=17013</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=17013"/>
		<updated>2010-09-07T08:01:49Z</updated>

		<summary type="html">&lt;p&gt;Gozer: Verrsion numbers useless!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Win32Compile on Fedora 13 (This document is based on [[Win32Compile]]): this page give some further details for building VLC on a &#039;&#039;&#039;Fedora 13&#039;&#039;&#039; Linux distribution with the &#039;&#039;&#039;Mingw32&#039;&#039;&#039; cross-compilation tools.&lt;br /&gt;
Get more informations on:&lt;br /&gt;
* [http://fedoraproject.org/ Fedora]&lt;br /&gt;
* [http://www.mingw.org/ Mingw]&lt;br /&gt;
* [http://fedoraproject.org/wiki/SIGs/MinGW MingW Fedora Project]&lt;br /&gt;
&lt;br /&gt;
== Building VLC from source ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++ \&lt;br /&gt;
mingw32-gcc \&lt;br /&gt;
mingw32-pthreads \&lt;br /&gt;
mingw32-w32api \&lt;br /&gt;
mingw32-binutils \&lt;br /&gt;
mingw32-runtime \&lt;br /&gt;
mingw32-filesystem \&lt;br /&gt;
mingw32-cpp \&lt;br /&gt;
mingw32-dlfcn-static&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper&lt;br /&gt;
mingw32-nsis&lt;br /&gt;
zip&lt;br /&gt;
p7zip (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.3...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;&#039;mingw32-runtime-3.17&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched via git - See [[Git#Getting_VLC_or_x264_source_code_via_Git]]) by doing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd vlc&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;&#039;extras/package/win32&#039;&#039; and named &#039;&#039;configure-mingw-f13.sh&#039;&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-fr13.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;&#039;/usr/win32/bin&#039;&#039; to the path and as you used MinGW, you need to copy the mingw &#039;&#039;libgcc_s_sjlj-1.dll&#039;&#039; into the installation folder near &#039;&#039;vlc.exe&#039;&#039; (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=17012</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=17012"/>
		<updated>2010-09-07T07:59:46Z</updated>

		<summary type="html">&lt;p&gt;Gozer: updated version numbers + added mingw32-dlfcn&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Win32Compile on Fedora 13 (This document is based on [[Win32Compile]]): this page give some further details for building VLC on a &#039;&#039;&#039;Fedora 13&#039;&#039;&#039; Linux distribution with the &#039;&#039;&#039;Mingw32&#039;&#039;&#039; cross-compilation tools.&lt;br /&gt;
Get more informations on:&lt;br /&gt;
* [http://fedoraproject.org/ Fedora]&lt;br /&gt;
* [http://www.mingw.org/ Mingw]&lt;br /&gt;
* [http://fedoraproject.org/wiki/SIGs/MinGW MingW Fedora Project]&lt;br /&gt;
&lt;br /&gt;
== Building VLC from source ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13 \&lt;br /&gt;
mingw32-dlfcn-static-0-0.7.r11.fc13.noarch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.46&lt;br /&gt;
zip-3.0&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.3...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;&#039;mingw32-runtime-3.17&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched via git - See [[Git#Getting_VLC_or_x264_source_code_via_Git]]) by doing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd vlc&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;&#039;extras/package/win32&#039;&#039; and named &#039;&#039;configure-mingw-f13.sh&#039;&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-fr13.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;&#039;/usr/win32/bin&#039;&#039; to the path and as you used MinGW, you need to copy the mingw &#039;&#039;libgcc_s_sjlj-1.dll&#039;&#039; into the installation folder near &#039;&#039;vlc.exe&#039;&#039; (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16939</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16939"/>
		<updated>2010-08-13T14:28:31Z</updated>

		<summary type="html">&lt;p&gt;Gozer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Win32Compile on Fedora 13 (This document is based on [[Win32Compile]]): this page give some further details for building VLC on a &#039;&#039;&#039;Fedora 13&#039;&#039;&#039; Linux distribution with the &#039;&#039;&#039;Mingw32&#039;&#039;&#039; cross-compilation tools.&lt;br /&gt;
Get more informations on:&lt;br /&gt;
* [http://fedoraproject.org/ Fedora]&lt;br /&gt;
* [http://www.mingw.org/ Mingw]&lt;br /&gt;
* [http://fedoraproject.org/wiki/SIGs/MinGW MingW Fedora Project]&lt;br /&gt;
&lt;br /&gt;
== Building VLC from source ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;&#039;mingw32-runtime-3.17&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched via git - See [[Git#Getting_VLC_or_x264_source_code_via_Git]]) by doing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd vlc&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;&#039;extras/package/win32&#039;&#039; and named &#039;&#039;configure-mingw-f13.sh&#039;&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-fr13.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;&#039;/usr/win32/bin&#039;&#039; to the path and as you used MinGW, you need to copy the mingw &#039;&#039;libgcc_s_sjlj-1.dll&#039;&#039; into the installation folder near &#039;&#039;vlc.exe&#039;&#039; (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16938</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16938"/>
		<updated>2010-08-13T14:20:44Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Building VLC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building VLC from source ==&lt;br /&gt;
Win32Compile on Fedora 13 (This document is based on [[Win32Compile]])&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;&#039;mingw32-runtime-3.17&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched via git - See [[Git#Getting_VLC_or_x264_source_code_via_Git]]) by doing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd vlc&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;&#039;extras/package/win32&#039;&#039; and named &#039;&#039;configure-mingw-f13.sh&#039;&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-fr13.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;&#039;/usr/win32/bin&#039;&#039; to the path and as you used MinGW, you need to copy the mingw &#039;&#039;libgcc_s_sjlj-1.dll&#039;&#039; into the installation folder near &#039;&#039;vlc.exe&#039;&#039; (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16937</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16937"/>
		<updated>2010-08-13T14:19:16Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Configuring the build */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building VLC from source ==&lt;br /&gt;
Win32Compile on Fedora 13 (This document is based on [[Win32Compile]])&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;&#039;mingw32-runtime-3.17&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched via git - See [[Git#Getting_VLC_or_x264_source_code_via_Git]]) by doing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd vlc&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;&#039;extras/package/win32&#039;&#039; and named &#039;&#039;configure-mingw-f13.sh&#039;&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-fr13.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;/usr/win32/bin&#039; to the path and as you used MinGW, you need to copy the mingw &#039;libgcc_s_sjlj-1.dll&#039; into the installation folder near vlc.exe (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16936</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16936"/>
		<updated>2010-08-13T14:17:08Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Saving time by using pre-built libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building VLC from source ==&lt;br /&gt;
Win32Compile on Fedora 13 (This document is based on [[Win32Compile]])&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;&#039;mingw32-runtime-3.17&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched by git - See http://wiki.videolan.org/Git#Getting_VLC_or_x264_source_code_via_Git) by doing:&lt;br /&gt;
&amp;lt;code&amp;gt;cd vlc&lt;br /&gt;
./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;extras/package/win32&#039; and named &#039;configure-mingw-mine.sh&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-mine.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information. &lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;/usr/win32/bin&#039; to the path and as you used MinGW, you need to copy the mingw &#039;libgcc_s_sjlj-1.dll&#039; into the installation folder near vlc.exe (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16935</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16935"/>
		<updated>2010-08-13T14:15:38Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Obtaining the build tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building VLC from source ==&lt;br /&gt;
Win32Compile on Fedora 13 (This document is based on [[Win32Compile]])&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;/code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;&#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039;&#039; and do not forget to add &#039;&#039;/usr/win32/bin&#039;&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install qt-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum downgrade qt*-4.6.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have &#039;&#039;pkg-config&#039;&#039; installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;&#039;/usr/bin/i686-pc-mingw32-pkg-config&#039;&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;mingw32-runtime-3.17&#039;&#039;&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched by git - See http://wiki.videolan.org/Git#Getting_VLC_or_x264_source_code_via_Git) by doing:&lt;br /&gt;
&amp;lt;code&amp;gt;cd vlc&lt;br /&gt;
./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;extras/package/win32&#039; and named &#039;configure-mingw-mine.sh&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-mine.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information. &lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;/usr/win32/bin&#039; to the path and as you used MinGW, you need to copy the mingw &#039;libgcc_s_sjlj-1.dll&#039; into the installation folder near vlc.exe (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16934</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16934"/>
		<updated>2010-08-13T14:14:03Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Building VLC from source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building VLC from source ==&lt;br /&gt;
Win32Compile on Fedora 13 (This document is based on [[Win32Compile]])&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039; and do not forget to add &#039;/usr/win32/bin&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install qt-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum downgrade qt*-4.6.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have pkg-config installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;/usr/bin/i686-pc-mingw32-pkg-config&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;mingw32-runtime-3.17&#039;&#039;&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched by git - See http://wiki.videolan.org/Git#Getting_VLC_or_x264_source_code_via_Git) by doing:&lt;br /&gt;
&amp;lt;code&amp;gt;cd vlc&lt;br /&gt;
./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;extras/package/win32&#039; and named &#039;configure-mingw-mine.sh&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-mine.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information. &lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;/usr/win32/bin&#039; to the path and as you used MinGW, you need to copy the mingw &#039;libgcc_s_sjlj-1.dll&#039; into the installation folder near vlc.exe (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16933</id>
		<title>Win32CompileFedora13</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileFedora13&amp;diff=16933"/>
		<updated>2010-08-13T14:13:40Z</updated>

		<summary type="html">&lt;p&gt;Gozer: Creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building VLC from source ==&lt;br /&gt;
Win32Compile on Fedora 13 (This document is based on [[Win32Compile]])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method &lt;br /&gt;
! Documentation &lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with Mingw32 on Fedora 13&lt;br /&gt;
| &lt;br /&gt;
None: read this page&lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Preferred&#039;&#039;&#039; method (uses cross compilation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Obtaining the build tools  ==&lt;br /&gt;
&lt;br /&gt;
The mingw32 cross-compile tools are available in the default repository. Install them (as root) with yum:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum --verbose --noplugins install \&lt;br /&gt;
mingw32-gcc-c++-4.4.2 \&lt;br /&gt;
mingw32-gcc-4.4.2 \&lt;br /&gt;
mingw32-pthreads-2.8.0 \&lt;br /&gt;
mingw32-w32api-3.13 \&lt;br /&gt;
mingw32-binutils-2.19.51.0.14 \&lt;br /&gt;
mingw32-runtime-3.15.2 \&lt;br /&gt;
mingw32-filesystem-56 \&lt;br /&gt;
mingw32-cpp-4.4.2-2.fc13&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also add the ndis tools and everything needed by the &amp;lt;code&amp;gt;make package-win32*&amp;lt;code&amp;gt; targets:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mingw32-nsiswrapper-5&lt;br /&gt;
mingw32-nsis-2.45&lt;br /&gt;
zip-3.0-1&lt;br /&gt;
p7zip-9.04 (For this one you need to create a link &#039;ln -s /usr/bin/7za /usr/win32/bin/7z&#039; and do not forget to add &#039;/usr/win32/bin&#039; to your &#039;PATH&#039;)&lt;br /&gt;
lua-5.1.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also need the Fedora qt-devel package, even if you are using Linux to cross-compile to a Windows exe (for moc and uic):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install qt-devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: pre-built Windows Qt is 4.6.0 but the yum installed version for Linux is actually 4.6.2...&lt;br /&gt;
If it is problematic try to downgrade the qt installed versions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum downgrade qt*-4.6.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure that you have pkg-config installed (check with &amp;lt;code&amp;gt;yum -q pkgconfig&amp;lt;/code&amp;gt;) as the installed &#039;/usr/bin/i686-pc-mingw32-pkg-config&#039; is not working correctly.&lt;br /&gt;
&lt;br /&gt;
== Saving time by using pre-built libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://people.videolan.org/~jb/Contribs/, the version you download must match that of the MINGW compiler.&lt;br /&gt;
&lt;br /&gt;
For the installed mingw32 packages the available versions are:&lt;br /&gt;
http://people.videolan.org/~jb/Contribs/contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2, where xxxxx is a date&lt;br /&gt;
&lt;br /&gt;
Install this (as root) with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar jxf contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.15-only.tar.bz2 -C /&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the &amp;lt;code&amp;gt;-C /&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
For QT4 you will need (to ease the compilation) to add some links in &#039;/usr/win32/bin&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/win32/bin&lt;br /&gt;
ln -s /usr/bin/moc-qt4 .&lt;br /&gt;
ln -s /usr/bin/uic-qt4 .&lt;br /&gt;
ln -s /usr/bin/rcc .&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: for contrib-xxxxxxx-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2 you need to install &#039;&#039;mingw32-runtime-3.17&#039;&#039;&lt;br /&gt;
A pre-version is actually available here: http://rpmfarm.free.fr/13/i386/RPMS.farm/mingw32-runtime-3.17-1.EL.fc13.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note: previous contrib tarball is missing some files:&lt;br /&gt;
/usr/win32/include/mpcdec/config_win32.h&lt;br /&gt;
&lt;br /&gt;
A temporary version is available here: http://rpmfarm.free.fr/src/Patches/VLC/mpcdec_config_win32.h&lt;br /&gt;
&lt;br /&gt;
== Configuring the build ==&lt;br /&gt;
&lt;br /&gt;
First prepare the build process in the vlc tree (fetched by git - See http://wiki.videolan.org/Git#Getting_VLC_or_x264_source_code_via_Git) by doing:&lt;br /&gt;
&amp;lt;code&amp;gt;cd vlc&lt;br /&gt;
./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place and the bootstap is done, you need to configure the build with the following configure script (created in &#039;extras/package/win32&#039; and named &#039;configure-mingw-mine.sh&#039;). In the following examples, assume that the third-party libraries are installed as above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
	| #!/bin/sh&lt;br /&gt;
	| &lt;br /&gt;
	| root=$(echo $0|sed &#039;s#extras/package/win32/configure-mingw-mine.sh##&#039;)./&lt;br /&gt;
	| &lt;br /&gt;
	| if [ -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
	| then&lt;br /&gt;
	|         CONTRIBS=&amp;quot;$1&amp;quot;&lt;br /&gt;
	| else&lt;br /&gt;
	|         CONTRIBS=&amp;quot;/usr/win32&amp;quot;&lt;br /&gt;
	| fi&lt;br /&gt;
	| export CONTRIBS&lt;br /&gt;
	| &lt;br /&gt;
	| PATH=&amp;quot;$CONTRIBS/bin:$PATH&amp;quot; \&lt;br /&gt;
	| PKG_CONFIG=/usr/bin/pkg-config \&lt;br /&gt;
	| PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
	| CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; \&lt;br /&gt;
	| LDFLAGS=&amp;quot;-L$CONTRIBS/lib&amp;quot; \&lt;br /&gt;
	| CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ \&lt;br /&gt;
	| CONFIG=&amp;quot;${root}configure --host=i686-pc-mingw32 --build=i386-linux&lt;br /&gt;
 	| --enable-dirac --enable-mkv --enable-taglib --enable-nls --enable-projectm&amp;quot; \&lt;br /&gt;
	| sh ${root}extras/package/win32/configure-common.sh&lt;br /&gt;
	+----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for more information. &lt;br /&gt;
&lt;br /&gt;
== Building VLC ==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
you may need &amp;lt;code&amp;gt;make MOC=/usr/bin/moc-qt4 UIC=/usr/bin/uic-qt4&amp;lt;/code&amp;gt; in modules/gui/qt4) if you haven&#039;t done the links.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following make rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-base&amp;lt;/code&amp;gt; &lt;br /&gt;
| Creates a subdirectory named &amp;lt;code&amp;gt;vlc-x.x.x&amp;lt;/code&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32-zip&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;make package-win32&amp;lt;/code&amp;gt; &lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
You&#039;ll need to add &#039;/usr/win32/bin&#039; to the path and as you used MinGW, you need to copy the mingw &#039;libgcc_s_sjlj-1.dll&#039; into the installation folder near vlc.exe (you&#039;ll find the dll on your system as you installed the mingw packages):&lt;br /&gt;
&amp;lt;code&amp;gt;cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll vlc-&amp;lt;current_version&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done—you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Uncommon_uses&amp;diff=13291</id>
		<title>Uncommon uses</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Uncommon_uses&amp;diff=13291"/>
		<updated>2009-01-27T13:56:45Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Caca and Goom */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The modular nature of {{VLC}} allows you to do quite strange and unusual things with it. This page tries to list some funny and insane uses.&lt;br /&gt;
&lt;br /&gt;
== Caca and Goom ==&lt;br /&gt;
&lt;br /&gt;
If you have vlc compiled with both caca and goom you can listen to music with [[caca]] rendering the output of [[goom]]. That means you can show the visualisations from an audio file as colour ASCII art! Try something like this:&lt;br /&gt;
 vlc --audio-visual goom --vout caca somemusic.mp3&lt;br /&gt;
&lt;br /&gt;
Likewise, if you would like to view a video file as colour ASCII art, try the following:&lt;br /&gt;
 vlc --vout caca somevideo.avi&lt;br /&gt;
&lt;br /&gt;
== Pipe data to VLC ==&lt;br /&gt;
&lt;br /&gt;
You can pipe input from standard input to VLC, rather than open a file or stream. VLC accepts data this way if you use a dash as a filename, ie:&lt;br /&gt;
 vlc -&lt;br /&gt;
Piping passes the output of one program into the input of another. An example of this is using [[wikipedia:Cat (Unix)|cat]], which is part of GNU coreutils (ie, on *nix systems). Cat displays the contents of a file to standard output (normally to the screen as text). In this case, we&#039;ll use the pipe character to redirect this into vlc&#039;s standard input, whch will then be played. To wit,&lt;br /&gt;
 cat file.mpg | vlc -&lt;br /&gt;
&lt;br /&gt;
All very sane (though pointless) so far: if you&#039;re looking for madness, read on. You can get input from anywhere. A good place to get input is [[ffmpeg]]. Say you have a [[wikipedia:.flv|.flv]] file (which VLC now supports from version 0.8.4a onwards) and you want to play it in vlc. You could use ffmpeg to transcode it on the fly and pipe the output to vlc. The following command will do this:&lt;br /&gt;
 ffmpeg -i 0.flv -f asf - | vlc -&lt;br /&gt;
A longer version with all the options ffmpeg likes to have is:&lt;br /&gt;
 ffmpeg -i 0.flv -vcodec mpeg4 -ac 1 -ab 64 -acodec mp2 -b 128 -f asf -s cif - | vlc -&lt;br /&gt;
The advantage of this is that you don&#039;t have to make a new file (possibly 100s of MB in size). But you&#039;ll probably need a good computer. Plus, you wont have much control when playing it. You can pipe into ffmpeg too, so I suppose you could pass things along ffmpeg forever, transcoding it a million different ways, and ending up in vlc (please don&#039;t try that, your computer really wouldn&#039;t like it).&lt;br /&gt;
&lt;br /&gt;
== Encoding Lots of Files ==&lt;br /&gt;
&lt;br /&gt;
This command shows how to encode a whole directory of files in Linux, without your input. When complete, it&#039;ll show a message to say it is complete. It&#039;s a single command split over several lines (with \)&lt;br /&gt;
&lt;br /&gt;
 for A in *.avi; do \&lt;br /&gt;
 echo ************************* $A ********************* ;\&lt;br /&gt;
 vlc --sout-all &amp;quot;$A&amp;quot; :sout=&amp;quot;#transcode{...}:\&lt;br /&gt;
 std{access=file,mux=avi,url=~/$A.avi}&amp;quot; \&lt;br /&gt;
 vlc://quit -I dummy ;\&lt;br /&gt;
 done ;\&lt;br /&gt;
 Xdialog --title &#039;Complete&#039; --msgbox &#039;All done&#039; 0 0;&lt;br /&gt;
&lt;br /&gt;
Make sure you really understand this command before using it. It&#039;s also a good idea to make sure you&#039;ve got the right options in the transcode bit, and that it&#039;ll transcode the right files. The output is sent to your home folder in this example.&lt;br /&gt;
&lt;br /&gt;
[[Category:How_To]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=User:Gozer&amp;diff=13284</id>
		<title>User:Gozer</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=User:Gozer&amp;diff=13284"/>
		<updated>2009-01-26T09:48:21Z</updated>

		<summary type="html">&lt;p&gt;Gozer: New page: See here my home page: [http://lassauge.free.fr]&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See here my home page: [http://lassauge.free.fr]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Talk:Win32CompileCygwinNew&amp;diff=13283</id>
		<title>Talk:Win32CompileCygwinNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Talk:Win32CompileCygwinNew&amp;diff=13283"/>
		<updated>2009-01-26T09:47:01Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* ranlib command added */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We should add a link from [[Win32CompileCygwin]] to this page. --[[User:David206|David206]] 16:27, 20 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== ranlib command added ==&lt;br /&gt;
&lt;br /&gt;
I added this because in the contrib-20090121-win32-bin-gcc-3.4.5-only.tar.bz2 tarball one library (liblua.a) needed this ranlib.&lt;br /&gt;
In anycase it doesn&#039;t hurt to do it! -- [[User:Gozer|Gozer]] 10:47, 26 January 2009 (CET)&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileCygwinNew&amp;diff=13273</id>
		<title>Win32CompileCygwinNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileCygwinNew&amp;diff=13273"/>
		<updated>2009-01-23T13:56:08Z</updated>

		<summary type="html">&lt;p&gt;Gozer: /* Installing the Win32 &amp;quot;contrib&amp;quot; package in Cygwin */&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;
&#039;&#039;&#039;This version ONLY works for 0.9.x and for 1.0.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. You should really 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&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;
   libiconv&lt;br /&gt;
   libgcrypt-devel&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&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;
 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;
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;
== 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;
=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;
Open the &#039;&#039;&#039;configure.ac&#039;&#039;&#039; file, and modify the requirement for gettext 0.17 to 0.15 (so replace line &#039;&#039;&#039;AM_GNU_GETTEXT_VERSION(0.17)&#039;&#039;&#039; with line &#039;&#039;&#039;AM_GNU_GETTEXT_VERSION(0.15)&#039;&#039;&#039; or use sed command below)&lt;br /&gt;
&lt;br /&gt;
 sed -i &#039;s/AM_GNU_GETTEXT_VERSION(0.17)/AM_GNU_GETTEXT_VERSION(0.15)/g&#039; configure.ac&lt;br /&gt;
&lt;br /&gt;
and then run bootstrap.&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&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.&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;
&lt;br /&gt;
Download the latest version of a &amp;quot;contrib&amp;quot; package for win32:&lt;br /&gt;
&lt;br /&gt;
 contrib-20060730-win32-bin-gcc-3.4.5-only.tar.bz2 (this is an &#039;&#039;&#039;example&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
These days, you should use&lt;br /&gt;
 http://people.videolan.org/~jb/Contribs/contrib-20080811-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2&lt;br /&gt;
&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.&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;
 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;
 ranlib /usr/win32/lib/lib*.a&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;
==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 from http://forum.videolan.org/viewtopic.php?f=14&amp;amp;t=50360&amp;amp;p=164758&amp;amp;hilit=win32api#p164219 that thread. 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;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-avcodec --enable-avformat --enable-swscale \&lt;br /&gt;
      --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-freetype-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-fribidi-config-path=/usr/win32/bin \&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-xml2-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-dvdnav-config-path=/usr/win32/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-debug  --enable-dca \&lt;br /&gt;
      --disable-mkv --disable-taglib&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;
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 either run VLC directly from the source tree or 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;
&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;
[[Category:Building]]&lt;br /&gt;
[[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Talk:Win32CompileCygwinNew&amp;diff=13272</id>
		<title>Talk:Win32CompileCygwinNew</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Talk:Win32CompileCygwinNew&amp;diff=13272"/>
		<updated>2009-01-23T13:54:53Z</updated>

		<summary type="html">&lt;p&gt;Gozer: New section: ranlib command added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We should add a link from [[Win32CompileCygwin]] to this page. --[[User:David206|David206]] 16:27, 20 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== ranlib command added ==&lt;br /&gt;
&lt;br /&gt;
I added this because in the contrib-20090121-win32-bin-gcc-3.4.5-only.tar.bz2 tarball one library (liblua.a) needed this ranlib.&lt;br /&gt;
In anycase it doesn&#039;t hurt to do it!&lt;/div&gt;</summary>
		<author><name>Gozer</name></author>
	</entry>
</feed>