El 13/8/19 a las 09:11, Simon Brown escribió:


Is there any issue linking C libraries with C++?  Is there anything else I should be doing?  I had assumed it was a "shared-object" problem, and rebuilt everything with --enable-shared set, but that hasn't solved it.

Make sure you include the libav.... .h files with an extern "C" guard, like:

extern "C" {

#include "libavutil/avutil.h"
#include "libavformat/avformat.h"

}

That should make all symbols visible without mangling them.

--
Gonzalo Garramuño

_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to