[vlc] Re: compile FFMPEG for VLC for Windows
Gildas Bazin
gbazin at altern.org
Wed Oct 27 18:48:40 CEST 2004
On Wednesday 27 October 2004 17:00, Callan, Wilson wrote:
> hi, i'm sure this question is in the archives but VIA apparently no longer
supports searches... anyway, so i'm trying to build FFMPEG for windows to
link with VLC. i know i can get it from
http://download.videolan.org/pub/videolan/testing/win32/ contrib files, but
i'm making a change to FFMPEG. i'm trying to build FFMPEG with the cygwin
stuff i use to build VLC. is that right or do i have to use another build
method?
>
> i use FFMPEG configuration --enable-pp. is that right? what else do i
need to enable? when i link libavcodec.a with VLC i get errors like
___getreent, __imp_ctype_, ___assert, _inflat undefined.
>
> is there a way to find out how the
download.videolan.org/pub/videolan/testing/win32/ contrib files are built?
>
You have to use something similar to what's described for VLC in the
INSTALL.win32 file.
I use this when cross-compiling:
./configure --enable-mingw32 --enable-memalign-hack
--extra-cflags=-I/usr/win32/include --extra-ldflags=-L/usr/win32/lib
--cross-prefix=i586-mingw32msvc- --enable-faac --enable-mp3lame --enable-pp
--enable-gpl
But I guess under cygwin you should use something like that:
./configure --cc="gcc -mno-cygwin" --enable-mingw32 --enable-memalign-hack
--extra-cflags=-I/usr/win32/include --extra-ldflags=-L/usr/win32/lib
--enable-faac --enable-mp3lame --enable-pp --enable-gpl
--
Gildas
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list