Hello Gary, Le 27 nov. 08 à 11:56, Smart, Gary a écrit :
> Does anyone know how to compile C++ programs with the ffmpeg API? I > notice that there are no extern "C" statements in the headers but even > when this is addressed, I still get link errors along the lines of: > > "...undefined reference to __gxx_personality_v0" , > > which seems to arise within some temporary '.o' file in /tmp. Usually this problem is when you compile a .cpp file with gcc instead of g++ The frontend interpret .cpp as C++ files but when doing the link it does not embed all the C++ libraries. g++ -o foo foo.cpp will work but gcc -o foo foo.cpp will gives the problem you report David. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
