I'm interested in reusing VLC open source in my project since it's open (supportes both WinCe and Xp) and supports RTP/RTSP streaming of course.
I tried to build the VLC0.8.6c sources but it fails. I chose v0.8.6c because the corresponding binary works fine with an RTSP url I have, while 1.0.x crashes.
Here are the details:
- OS: Windows XP SP2
- Compiling with MSYS/MINGW
- I followed build instructions from http://wiki.videolan.org/Win32CompileMSYSNew
to section "Install other tools".
For set-up of MSYS/MinGW env., I followed the instructions of "Installation and configuration of MSYS/MinGW" section from link http://trac.enlightenment.org/e/wiki/EFLWindowsXP;
Here, I got an error when executing "make install" as indicated in this phrase
(Go to tmp/gettext-0.17 and run CFLAGS="-03" LDFLAGS="-Wl,-s" ./configure, then make install. It will take a LOT of time to configure and install gettext.)
Errors: gettext "make: *** [install-recursive] Error 1"
gettext version: gettext-0.17 downloaded from http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz
- for "Install Git and checkout VLC", it is skipped since I downloaded and manually extracted vlc source files under D:\
- Then, I followed sections "PKG-CONFIG" and "Contribs"
- Till now: all installed except for gettext. I passed to configure and build VLC.
Here I did'n't find the same instructions in file "INSTALL.win32" of VLC source project and what indicated in the link I'm using:
http://wiki.videolan.org/Win32CompileMSYSNew
For bootstrap, ./bootstrap doesn't work as indicated in INSTALL.win32
--------------------
If you are compiling with MSYS/MINGW, then you can use something along those
lines:
./bootstrap && \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
./configure \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--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-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-mkv \
--enable-debug
--------------------
Results:
--------------------
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS='-I m4'
+ test -d extras/contrib/bin
+ amvers=no
+ for v in '"-1.7"' '"-1.9"' '"19"' '"-1.8"' '"18"' '"-1.7"' '"17"' '""'
+ automake-1.7 --version
+ amsuff=-1.7
+ amvers=-1.7
+ break
+ test -1.7 = no
+ case "${amvers}" in
+ libtoolize=no
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ gettextize --version
+ set +x
you need gettextize (package gettext-devel or gettext)
--------------------
My questions:
1. What's wrong with the gettext install?
2. Are the steps listed above correct?
2. What are the instructions to follow for VLC configure and Build: as specified in INSTALL.win32?
May thanks for your help.
Regards,