[Libav-user] undefined reference to sws_getcontext

Suprith Gowda suprith1230 at gmail.com
Tue Aug 12 15:40:53 CEST 2014


thanks  it worked ,
i misplaced the order of Libs


Thanks
suprith


On Tue, Aug 12, 2014 at 6:32 PM, Dmitry Adjiev <adjiev.dmitry at gmail.com>
wrote:

> Please let me know if  I understood something wrokt, but if this is libs
> issue,  try to use the fllowing command line for compilation:
> -lavdevice -lavformat -lavfilter -lavcodec -lswresample -lswscale -lavutil
> -lbz2 -lm -lz -lpthread -lpostproc
> Libs should be exatrly in this order
>
>
>
> 2014-08-12 16:46 GMT+04:00 Hendrik Leppkes <h.leppkes at gmail.com>:
>
> 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
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
>
> --
> Regards,
> Dmitry
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140812/e88191c2/attachment.html>


More information about the Libav-user mailing list