Unresoved - avformat_free_context’ was not declared in this scope
Hi I am new to opencv. I just downloaded the latest source and I am following the installation procedures as given on the website. I get this error and after searching the questions others have asked, I still dont have an answer to this problem.
[ 39%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/loadsave.cpp.o In file included from /home/marius/dev/opencv-2.4.9/modules/highgui/src/cap_ffmpeg.cpp:45: /home/marius/dev/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: /home/marius/dev/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:1445: error: ‘avformat_free_context’ was not declared in this scope make[2]: * [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1