configure scripts for ffmpeg and vlc needed
Posted: 02 Jul 2008 23:14
Hi,
I've been struggling to build vlc-0.8.6h with ffmpeg (latest) from source with no luck. Also I've been trying to build the latest vlc-0.9.0 with no luck (I must admit that I combed over the VLC wiki and forum like an addictor ). Anyone that has either of this compiled please post me your config scripts for ffmpeg & vlc. Thanks so much. Below are my scripts, which always give me compiling errors (like libvlcore_la-version.o not found):
1. ffmpeg config script:
./configure
--target-os=mingw32 --enable-memalign-hack \
--extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin \
--enable-postproc --enable-gpl \
--extra-cflags=-I/usr/win32/include \
--extra-ldflags=-L/usr/win32/lib \
--prefix=/usr/win32 \
--cc="gcc -mno-cygwin" \
--enable-libmp3lame \
--enable-libfaac \
--enable-shared \
--enable-pp \
--extra-cflags=-fPIC \
2. vlc config script:
#!/bin/sh
#Creates better file permissions under vista, and gdb works better
CYGWIN=nontsec
#avoid the win32 FIND command
PATH=.:/bin:/usr/bin:$PATH
#Parameterize USE_WIN32_DIR, so we can develop with multiple VLC versions at the same time (they
# have different referenced component requirements)
USE_WIN32_DIR=/usr/win32
./bootstrap && \
PKG_CONFIG_PATH=${USE_WIN32_DIR}/lib/pkgconfig \
CPPFLAGS="-I${USE_WIN32_DIR}/include -I${USE_WIN32_DIR}/include/ebml" \
LDFLAGS=-L${USE_WIN32_DIR}/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-gtk \
--enable-nls \
--enable-sdl --with-sdl-config-path=${USE_WIN32_DIR}/bin \
--enable-ffmpeg --with-ffmpeg-tree=/home/TVLC/ffmpeg \
--with-ffmpeg-mp3lame \
--enable-faad --with-ffmpeg-faac \
--with-ffmpeg-zlib \
--enable-flac \
--enable-theora \
--with-wx-config-path=${USE_WIN32_DIR}/bin \
--with-freetype-config-path=${USE_WIN32_DIR}/bin \
--with-fribidi-config-path=${USE_WIN32_DIR}/bin \
--enable-live555 --with-live555-tree=${USE_WIN32_DIR}/live.com \
--enable-caca --with-caca-config-path=${USE_WIN32_DIR}/bin \
--with-xml2-config-path=${USE_WIN32_DIR}/bin \
--with-dvdnav-config-path=${USE_WIN32_DIR}/bin \
--disable-cddax \
--disable-vcdx \
--enable-goom \
--enable-twolame \
--enable-dvdread \
--enable-debug \
--disable-mkv \
#--enable-shared-libvlc \
--enable-shared \
--enable-shout \
#--disable-gui --disable-wxwidgets --disable-skins2 --disable-mad --disable-libmpeg2 \
I've been struggling to build vlc-0.8.6h with ffmpeg (latest) from source with no luck. Also I've been trying to build the latest vlc-0.9.0 with no luck (I must admit that I combed over the VLC wiki and forum like an addictor ). Anyone that has either of this compiled please post me your config scripts for ffmpeg & vlc. Thanks so much. Below are my scripts, which always give me compiling errors (like libvlcore_la-version.o not found):
1. ffmpeg config script:
./configure
--target-os=mingw32 --enable-memalign-hack \
--extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin \
--enable-postproc --enable-gpl \
--extra-cflags=-I/usr/win32/include \
--extra-ldflags=-L/usr/win32/lib \
--prefix=/usr/win32 \
--cc="gcc -mno-cygwin" \
--enable-libmp3lame \
--enable-libfaac \
--enable-shared \
--enable-pp \
--extra-cflags=-fPIC \
2. vlc config script:
#!/bin/sh
#Creates better file permissions under vista, and gdb works better
CYGWIN=nontsec
#avoid the win32 FIND command
PATH=.:/bin:/usr/bin:$PATH
#Parameterize USE_WIN32_DIR, so we can develop with multiple VLC versions at the same time (they
# have different referenced component requirements)
USE_WIN32_DIR=/usr/win32
./bootstrap && \
PKG_CONFIG_PATH=${USE_WIN32_DIR}/lib/pkgconfig \
CPPFLAGS="-I${USE_WIN32_DIR}/include -I${USE_WIN32_DIR}/include/ebml" \
LDFLAGS=-L${USE_WIN32_DIR}/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-gtk \
--enable-nls \
--enable-sdl --with-sdl-config-path=${USE_WIN32_DIR}/bin \
--enable-ffmpeg --with-ffmpeg-tree=/home/TVLC/ffmpeg \
--with-ffmpeg-mp3lame \
--enable-faad --with-ffmpeg-faac \
--with-ffmpeg-zlib \
--enable-flac \
--enable-theora \
--with-wx-config-path=${USE_WIN32_DIR}/bin \
--with-freetype-config-path=${USE_WIN32_DIR}/bin \
--with-fribidi-config-path=${USE_WIN32_DIR}/bin \
--enable-live555 --with-live555-tree=${USE_WIN32_DIR}/live.com \
--enable-caca --with-caca-config-path=${USE_WIN32_DIR}/bin \
--with-xml2-config-path=${USE_WIN32_DIR}/bin \
--with-dvdnav-config-path=${USE_WIN32_DIR}/bin \
--disable-cddax \
--disable-vcdx \
--enable-goom \
--enable-twolame \
--enable-dvdread \
--enable-debug \
--disable-mkv \
#--enable-shared-libvlc \
--enable-shared \
--enable-shout \
#--disable-gui --disable-wxwidgets --disable-skins2 --disable-mad --disable-libmpeg2 \