I am new to vlc development. I downloaded v 0.9.3 source last week.
My overall aim is to be able work on the browser plugins (both activex and mozilla).
I was able to compile it fine on ubuntu. But things changed when I attempted to get windows build I failed miserably.
Then I switched to cygwin. After spending hours on missing libs finally I was able resolve missing library errors with the latest contrib distribution.
I got the following script from INSTALL.win32 file. I removed few lines since configure tool did not like --host definition and CC, CXX definitions.
Code: Select all
CONTRIB_TREE=/usr/win32
PATH=${CONTRIB_TREE}/bin:$PATH \
./bootstrap && \
CPPFLAGS="-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml" \
LDFLAGS=-L${CONTRIB_TREE}/lib \
PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \
./configure \
--enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=${CONTRIB_TREE}/bin \
--with-freetype-config-path=${CONTRIB_TREE}/bin \
--with-fribidi-config-path=${CONTRIB_TREE}/bin \
--enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \
--enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \
--with-xml2-config-path=${CONTRIB_TREE}/bin \
--with-dvdnav-config-path=${CONTRIB_TREE}/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--enable-dca\
--disable-optimizations \
--enable-activex \
--enable-mozilla \
log file is attached. I didnot get much out of "X-I....." stuff.
make all-recursive
make[1]: Entering directory `/home/Murat/vlc/vlc-0.9.3'
Making all in po
make[2]: Entering directory `/home/Murat/vlc/vlc-0.9.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Murat/vlc/vlc-0.9.3/po'
Making all in src
make[2]: Entering directory `/home/Murat/vlc/vlc-0.9.3/src'
make all-recursive
make[3]: Entering directory `/home/Murat/vlc/vlc-0.9.3/src'
Making all in .
make[4]: Entering directory `/home/Murat/vlc/vlc-0.9.3/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -std=gnu99 -DHAVE_C
ONFIG_H -I. -I.. -I../include -I../include -I/usr/win32/include -I/usr/win32/i
nclude/ebml -DSYS_MINGW32 `top_builddir=".." ../vlc-config --cflags libvlc` -DMO
DULE_STRING=\"main\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr
/local/etc\" -DDATA_PATH=\"/usr/local/share/vlc\" -DLIBDIR=\"/usr/local/lib\" -D
PLUGIN_PATH=\"/usr/local/lib/vlc\" -mms-bitfields -Wall -Wextra -Wsign-compare -
Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissin
g-prototypes -MT libvlccore_la-libvlc.lo -MD -MP -MF .deps/libvlccore_la-libvlc.
Tpo -c -o libvlccore_la-libvlc.lo `test -f 'libvlc.c' || echo './'`libvlc.c
../libtool: line 851: X--tag=CC: command not found
../libtool: line 884: libtool: ignoring unknown tag : command not found
../libtool: line 851: X--mode=compile: command not found
../libtool: line 1018: *** Warning: inferring the mode of operation is deprecate
d.: command not found
../libtool: line 1019: *** Future versions of Libtool will require --mode=MODE b
e specified.: command not found
../libtool: line 1162: Xgcc: command not found
../libtool: line 1162: X-mno-cygwin: command not found
../libtool: line 1162: X-std=gnu99: command not found
../libtool: line 1162: X-DHAVE_CONFIG_H: command not found
../libtool: line 1162: X-I.: command not found
../libtool: line 1162: X-I..: command not found
../libtool: line 1162: X-I../include: No such file or directory
../libtool: line 1162: X-I../include: No such file or directory
../libtool: line 1162: X-I/usr/win32/include: No such file or directory
../libtool: line 1162: X-I/usr/win32/include/ebml: No such file or directory
../libtool: line 1162: X-DSYS_MINGW32: command not found
../libtool: line 1162: X-I/usr/local/include: No such file or directory
../libtool: line 1162: X-D_FILE_OFFSET_BITS=64: command not found
../libtool: line 1162: X-D__USE_UNIX98: command not found
../libtool: line 1162: X-D_LARGEFILE64_SOURCE: command not found
../libtool: line 1162: X-D_REENTRANT: command not found
../libtool: line 1162: X-D_THREAD_SAFE: command not found
../libtool: line 1162: X-D__LIBVLC__: command not found
../libtool: line 1162: X-I../src/misc: No such file or directory
../libtool: line 1162: X-O0: command not found
../libtool: line 1162: X-DMODULE_STRING="main": command not found
../libtool: line 1162: X-DLOCALEDIR="/usr/local/share/locale": No such file or d
irectory
../libtool: line 1162: X-DSYSCONFDIR="/usr/local/etc": No such file or directory
../libtool: line 1162: X-DDATA_PATH="/usr/local/share/vlc": No such file or dire
ctory
../libtool: line 1162: X-DLIBDIR="/usr/local/lib": No such file or directory
../libtool: line 1162: X-DPLUGIN_PATH="/usr/local/lib/vlc": No such file or dire
ctory
../libtool: line 1162: X-mms-bitfields: command not found
../libtool: line 1162: X-Wall: command not found
../libtool: line 1162: X-Wextra: command not found
../libtool: line 1162: X-Wsign-compare: command not found
../libtool: line 1162: X-Wundef: command not found
../libtool: line 1162: X-Wpointer-arith: command not found
../libtool: line 1162: X-Wbad-function-cast: command not found
../libtool: line 1162: X-Wcast-align: command not found
../libtool: line 1162: X-Wwrite-strings: command not found
../libtool: line 1162: X-Wmissing-prototypes: command not found
../libtool: line 1162: X-MT: command not found
../libtool: line 1162: Xlibvlccore_la-libvlc.lo: command not found
../libtool: line 1162: X-MD: command not found
../libtool: line 1162: X-MP: command not found
../libtool: line 1162: X-MF: command not found
../libtool: line 1162: X.deps/libvlccore_la-libvlc.Tpo: No such file or director
y
../libtool: line 1162: X-c: command not found
../libtool: line 1215: Xlibvlccore_la-libvlc.lo: command not found
../libtool: line 1220: libtool: compile: cannot determine name of library object
from `': command not found
make[4]: *** [libvlccore_la-libvlc.lo] Error 1
make[4]: Leaving directory `/home/Murat/vlc/vlc-0.9.3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Murat/vlc/vlc-0.9.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Murat/vlc/vlc-0.9.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Murat/vlc/vlc-0.9.3'
make: *** [all] Error 2
my contrib file is "contrib-20081006-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2"
gcc version is 3.4.4. mingw stuff is installed.
Can somebody tell me what I am doing wrong here ?
Also I read there were playback problems in v0.9.2 in browser plugins. Can you recommend "workable" release for this purpose ?