[vlc-devel] Can't compile 1.0.5
jboileau at gmail.com
Wed Mar 31 15:54:14 CEST 2010
Yes I was able to build 1.0.5. The only thing I could not compile was
fluidsynt which I removed from compilation in
extras/package\win32\configure-common.sh. Added --disable-fluidsynth.
I have also created a modified recipe based on the wiki but with the
exact steps I took for later reference. This might help you. I
personnaly have downloaded all the required tools and put them in a
directory for safe keeping. My recipe includes filenames instead of
URLs because of that. Please also note that I install MinGW manually,
package by package, instead of using the full install. I hope this may
help you find what doens't work in your environment. I stored my
recipe in a Word document, it unfortunatly looses a lot of its
formatting in plain text. Also note that I dowloaded the sources
tarball which misses a couple of files. I get those using the web
interface to GIT. This recipe takes this into account.
Recipe to compile VLC 1.0.5 under MinGW
MSYS is a helper environment for MinGW, the compiler chain for Windows
based on GCC. It is the fastest way to build VLC natively on Windows.
This howto was re-created by Jean-Baptiste Kempf and updated in June
2009. Changed by Jacques Boileau for Alstom purposes. Updated in
December 2009 and January 2010 by Jean-Baptiste Kempf. Finally
reworked by Jacques Boileau in March 2009 to be compatible with
building VLC 1.0.5.
The following tools are all available along with this document. Look
for them in ‘MinGW, MSys and tools’ directory.
Unzip the following to C:\MinGW:
Add C:\MinGW\bin to your path.
Before installing MSys rename MinGW/bin/mingw32-make.exe to
mingw/bin/make.exe. It will be renamed back by MSys post install
Change install path to C:\MinGW\Msys when installing.
Install MSys 1.0.11 with the exe: MSYS-1.0.11.exe
Answers to install questions:
Accept Post Install: [y]
MinGW Installed? : [y]
path to MinGW: [c:/MinGW]
Install MSys Developer Tooltkit: msysDTK-1.0.1.exe
Update your autoconf, automake and libtool by downloading and
installing them, keeping in mind that you need to extract the content
Install other tools
Extract the content to C:\MinGW\Msys:
Installing mingw-utils is recommended. Extract the content to C:\MinGW:
Installation of wget too. Extract the wget-1.9.1\mingwPORT wget.exe to
pkg-config is a mess, this is not NEWS... And you cannot compile it
from Windows because of a few bugs...
Unzip Glib to C:\MinGW\Msys:
Unzip PKG-CONFIG to C:\MinGW\Msys:
Copy the VLC sources in C:\MinGW\Msys:
Copy the contribs win32 directory in C:\MinGW\Msys creating a win32
Type the following commands:
cp /usr/win32/share/aclocal/* m4/
cp /usr/share/aclocal/* m4/
It should warn about gettext... Just ignore.
Copy the following files form the VLC Sources directory to
Please note that these files a from the VLC Git tree. Also note that
configure-common.h was edited to add ‘--disable-fluidsynth’. The fluid
synth plugin does not compile properly but since it is not required at
all for our needs we simply don’t compile it.
Execute in the msys command window:
Execute in the msys command window:
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:
make package-win32-base Creates a subdirectory named vlc-x.x.x with
all the binaries 'stripped' (that is, smallest size, unusable with a
make package-win32-zip Same as above but will package the directory
in a zip file.
make package-win32 Same as above but will also create an
auto-installer package. You must have NSIS installed in its default
location for this to work.
On Wed, Mar 31, 2010 at 1:29 AM, Sumit Aggarwal
<sumit.aggarwal at vvdntech.com> wrote:
> Hello Jacques Boileau,
> I'm facing same problem as you. But after copying gcc 4.4.2 I'm still getting
> Udefined reference for SjLjs.
> In fact "gcc --version" and "g++ --version" returns 4.4.2.
> Can you tell what extra changes you did to solve the problem?
> Can you give exact version of contribs?
> I'm using "contrib-20100109-win32-bin-gcc-4.4.2-runtime-3.17-only.tar"
> from link http://people.videolan.org/~jb/Contribs/
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel