[Libav-user] Compile with g++

James Board jpboard2 at yahoo.com
Tue Oct 8 17:20:37 CEST 2013






On Monday, October 7, 2013 5:39 PM, Michael Chisholm <chisholm at mitre.org> wrote:
 
On 10/7/2013 5:31 PM, James Board wrote:
> I'm trying to incorporate the libav subroutines into a C++ program.  Has this been
> done?  When I try to compile, I get lots of errors like UINT64_c undefined and
> many others.  How difficult would it be to compile the examples in the doc/examples
> directory with a C++ compiler?
>

I use libav from a C++ program.  I worked around that error about type 
macros by adding:

CXXFLAGS += -D__STDC_CONSTANT_MACROS

But if you're compiling pure C code, why not use a C compiler?

Andy



_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131008/1f135457/attachment.html>


More information about the Libav-user mailing list