linux - Error with including ffmpeg to a project -
i have faced problem compilation project including ffmpeg library , have no idea error.
/usr/lib/i386-linux-gnu/libavformat.a(utils.o): undefined reference symbol 'av_reduce@@libavutil_51' ffmpeg c/c++ problem
and here linker
invoking: gcc c++ linker g++ -l/usr/lib/i386-linux-gnu -o "ffmpeg" ./ffmpeg.o -lpthread -lswscale -lavdevice -lavutil -lavformat -lavcodec -lavfilter -lm -lz -lmp3lame -lpostproc -ldl -lx11 -lsdl -lrt -lswresample
if me t great. thx
use : error ffmpeg
also use:
ld --verbose -l * * lib u're looking
and ensure linker found library expect( path compiled libs).
Comments
Post a Comment