Windows compile

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
dreif
New Cone
New Cone
Posts: 4
Joined: 12 Jan 2007 12:32

Windows compile

Postby dreif » 15 Jan 2007 08:37

Hi,

I want to be able to build VLC from source for windows. I have tried several walkthrough found on internet which use Cygwin. I get something to compile (from SVN) but the result is very unstable and incomplete (missing features,crash often,..).

Is it preferable or even possible to compile VLC for windows under Linux? Do you have some link to an up-to-date step by step documentation about compiling VLC under cygwin?

Thank you for your help,
Frederic

osmanosman
Blank Cone
Blank Cone
Posts: 32
Joined: 25 Oct 2006 12:47

Postby osmanosman » 15 Jan 2007 10:41

http://developers.videolan.org/vlc/cygwin-compile.txt

here

but I suggest cross compile with debian etc. It is easy :D

dreif
New Cone
New Cone
Posts: 4
Joined: 12 Jan 2007 12:32

cross compile

Postby dreif » 15 Jan 2007 15:39

Hi,

I have setup an ubuntu in order to cross-compile VLC. But I have actually no eperience in cross-compiling. Did you have also documentation for it?

Thank you,
Frederic

osmanosman
Blank Cone
Blank Cone
Posts: 32
Joined: 25 Oct 2006 12:47

Postby osmanosman » 16 Jan 2007 21:45

My English is poor but I will try to explain my compile to you.
I use debian etc you can download an install from debian.org. it is free

1 - install libs
libtool,automake,autoconf,mingw32 and others you can found from this document
http://developers.videolan.org/vlc/cygwin-compile.txt

2- download vlc source vlc-0.8.6.tar.gz from videolan.org
3- download libraries contrib-20060619-win32-bin-gcc-3.4.5-only.tar.bz2
and run
tar xjvf contrib-20060526-win32-bin-gcc-3.4.5-only.tar.bz2 -C /
4- create a folder example : /vlc and extract vlc-0.8.6.tar.gz to vlc folder
example: /vlc/vlc-0.8.6.
create a txt files it is name configure-vlc in /vlc
write to configure-vlc

Code: Select all

./bootstrap && \ PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ LDFLAGS=-L/usr/win32/lib \ CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ ./configure --host=i586-mingw32msvc --build=i386-linux \ --enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \ --enable-nls \ --enable-shared-libvlc \ --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \ --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \ --with-wx-config-path=/usr/win32/bin \ --with-freetype-config-path=/usr/win32/bin \ --with-fribidi-config-path=/usr/win32/bin \ --enable-live555 --with-live555-tree=/usr/win32/live.com \ --enable-caca --with-caca-config-path=/usr/win32/bin \ --with-xml2-config-path=/usr/win32/bin \ --with-dvdnav-config-path=/usr/win32/bin \ --disable-cddax --disable-vcdx --enable-goom \ --enable-twolame --enable-dvdread \ --disable-gnomevfs \ --enable-dts \ --enable-debug \

Code: Select all

and run cd /vlc/vlc-config ../configure-vlc make make package-win32-base
the end

dreif
New Cone
New Cone
Posts: 4
Joined: 12 Jan 2007 12:32

THX

Postby dreif » 17 Jan 2007 17:09

Thank you a lot! It works great.

Regards,
Frederic

osmanosman
Blank Cone
Blank Cone
Posts: 32
Joined: 25 Oct 2006 12:47

Postby osmanosman » 18 Jan 2007 10:50

Not at all


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 62 guests