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

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -