[FFmpeg-user] ffmpeg.c:4492: undefined reference to `_avdevice_register_all'

Kyle kshawkeye at gmail.com
Sat Sep 10 08:42:57 CEST 2011


On 9/8/2011 5:14 PM, Roger Pack wrote:
>>> Any help would be great.
>> I contacted MinGW-w64 and they told me that __declspec(dllexport), needs to
>> be used to export the symbols.
>>
>> Meaning:
>> __declspec(dllexport) void avdevice_register_all(void);
>>
>> and so on.
>
> Or you can have it in an extern “C”  {} block or a .def file can't you?
>
> http://betterlogic.com/roger/2010/07/visual-studio-unable-to-register-dll
>
> -r
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Perhaps, that is what was mentioned to me. Sorry, I don't know C.

Check out: 
http://sourceforge.net/mailarchive/forum.php?thread_name=CAEwic4ZvRDjZ_qn%3DJCwNQcaa6zAa4ZOpno_LReRs4xVc0E0M2Q%40mail.gmail.com&forum_name=mingw-w64-public 
if you would like more info, the mingw-w64 dev's are very friendly and 
can help with whatever is needed, I would just like to see this bug 
resolved.


More information about the ffmpeg-user mailing list