[Libav-user] undefined reference to sws_getcontext

Hendrik Leppkes h.leppkes at gmail.com
Tue Aug 12 14:46:25 CEST 2014

On Tue, Aug 12, 2014 at 2:42 PM, Suprith Gowda <suprith1230 at gmail.com> wrote:
> Hi ,
> i am building an application using ffmpeg.. but end up in error
> 1. /usr/local/gcc/x86_linux-gnu/4.7/../../lib/libmpeg.so: undefined
> reference to sws_getcontext.
> 2. /usr/local/gcc/x86_linux-gnu/4.7/../../lib/libmpeg.so: undefined
> reference to sws_scale.
> At this point I'm falling out of any ideas at all, why exactly compilation
> fails?

libffmpeg.so is not something ffmpeg natively generates, so whatever
you used to generate this just doesn't include those functions in it.

- Hendrik

More information about the Libav-user mailing list