[Libav-user] Libavformat libavcodec problems while compiling

Alex Cohn alexcohn at netvision.net.il
Thu Oct 20 21:20:54 CEST 2011


On Oct 19, 2011 8:37 PM, "Luke Clemens" <lclemens at gmail.com> wrote:
>
> Also since you're using gcc, i think you need to enclose your #includes
within and extern "C"  { }

No, gcc is a C compiler; for C++, g++ is used. The extern "C" consruct is
for C++.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111020/c4909d0e/attachment.html>


More information about the Libav-user mailing list