1 | initial version |
Hi I am also trying to compile opencv on Ubuntu 10.014 and I get the exact same message :
Scanning dependencies of target opencv_highgui [ 16%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.cpp.o [ 16%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_images.cpp.o [ 16%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o In file included from /home/mnaveau/devel/opencv/opencv-2.4.7/modules/highgui/src/cap_ffmpeg.cpp:45: /home/mnaveau/devel/opencv/opencv-2.4.7/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: /home/mnaveau/devel/opencv/opencv-2.4.7/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 make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: * [all] Error 2