[FFmpeg-user] ffmpeg configure issue

Tom Evans tevans.uk at googlemail.com
Fri Mar 9 15:31:53 CET 2012


On Fri, Mar 9, 2012 at 2:15 PM, Donald McLachlan
<Donald.McLachlan at crc.ca> wrote:
>
> It might not be able to find the include files.  Maybe try using the config
> option "--extra-cflags=-I/usr/local/include" like I had to do to get
> libopenjpeg to work:
>
>    crc at crc-fsmanager:~> ffmpeg
>    ffmpeg version N-37669-gf2b20b7 Copyright (c) 2000-2012 the FFmpeg
> developers
>      built on Feb  9 2012 09:03:32 with gcc 4.5.1 20101208 [gcc-4_5-branch
> revision 167585]
>      configuration: --enable-libopenjpeg --extra-cflags=-I/usr/local/include
> --extra-cflags=-I/usr/local/include/openjpeg-1.5
>
> If it really is the library it is complaining out, maybe something like
> "--extra-cflags=-L/usr/local/lib" will do it.
>

Linker options like -L or -l should go in --extra-ldflags, not
--extra-cflags, which is where compilation flags (like -I) should go.

Cheers

Tom


More information about the ffmpeg-user mailing list