[FFmpeg-devel] Linking to C++ version of openjpeg

Aaron Boxer boxerab at gmail.com
Sun Mar 27 20:49:10 CEST 2016


On Sun, Mar 27, 2016 at 2:39 PM, Aaron Boxer <boxerab at gmail.com> wrote:

> Hello Again,
>
> I have a C++ version of openjpeg that I would like to use with FFmpeg -
> this
> library is going to be statically linked, just like the C version of
> openjpeg.
>
> Are there any special flags I need to set to link with the C++ version,
> which uses the STL and C++11 ?
>

I tried adding -std=c++0x  to the extra c flags, but when I looked at
config.log, I was these flags sent to gcc:

-std=c++0x  -std=c99

So, it seems that c99 is over-riding c++0x.


More information about the ffmpeg-devel mailing list