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