[Libav-user] undefined reference to sws_getcontext

Dmitry Adjiev adjiev.dmitry at gmail.com
Tue Aug 12 16:31:47 CEST 2014


You are welcome.
Can you help me with udp streaming?
Thread is "udp: video multicasting"


2014-08-12 17:40 GMT+04:00 Suprith Gowda <suprith1230 at gmail.com>:

> 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
>>
>>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


-- 
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140812/5e73edb1/attachment.html>


More information about the Libav-user mailing list