I have a modified version of the demuxing_decoding.c program (with ffmpeg from the latest git head), that I copied into a C++ file (to link it with other software that requires C++). The program compiles, but when linking it fails to find the libraries, so produces undefined references to all the av calls that I make.
My compile and link script is: gcc -o demux_decode demux_decode.cpp -L/usr/local/lib -lavformat .... (sorry, my VM has crashed and I can't copy/paste at the moment) 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. Any advice greatly appreciated, Simon
_______________________________________________ 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".
