[Libav-user] Compile with g++
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?
Libav-user mailing list
Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user