[FFmpeg-user] Compiling ffmpeg with --prefix option
nichot20 at yahoo.com
Mon Aug 6 09:33:11 CEST 2012
On 04/08/12 16:41, Abhijit Das wrote:
> Hello Everyone,
> I am trying to compile the ffmpeg source code following the guideline
> below. I am using ubuntu 11.10
> This is an excellent guide. But I have a small problem. I wanted to
> install all the binary and libraries in /opt/ffmpeg including libvpx and
> However when I try to configure ffmpeg it is throwing error:
> ERROR: libvpx decoder version must be >=0.9.1
> So it seems ./configure could not locate the libraries I compiled before in
> How do I make ./configure happy? How do I specify the library path to
> search for as an option to ./configure?
> Thanks -Abhijit Das
My test static build script includes...
--enable-static --disable-shared \
--extra-cflags="-static -I$SYSROOT/usr/local/include" \
--extra-ldflags="-static -L$SYSROOT/usr/local/lib64" \
Having set $SYSROOT to my desired location.
More information about the ffmpeg-user