undefined reference to `function_name'
I am trying to make my project to work with FFMPEG build from sources. I have several builds in some locations on machine.
I include paths for libs
/usr/local/include/but for some reason it looks in
/home/ilia/ffmpeg_sources/ffmpeg/libavcodec/libtheoraenc.c:175: error: undefined reference to ``th_info_init'
Where wrong paths can be written in System (ubuntu 14.04 - x64)?
If you are are using ffmpeg, why are you including vorbis in your main.cpp ?
Also, why link to all the dependencies of ffmpeg ?