Ask Your Question

Revision history [back]

Why am I getting this error? Installation issue in Ubuntu 10.04 LTS

Hello,

Basically, followed this step.

http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html

got source from git clone https://github.com/Itseez/opencv.git

I typed make and waited..but got error..

....

Any idea?

Thanks,

Why am I getting this error? Installation issue in Ubuntu 10.04 LTS

Hello,

Basically, followed this step.

http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html

got source from git clone https://github.com/Itseez/opencv.git

I typed make and waited..but got error..

....[ 15%] Built target pch_Generate_opencv_highgui Scanning dependencies of target opencv_highgui [ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.cpp.o [ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_images.cpp.o [ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o In file included from ..../opencv/modules/highgui/src/cap_ffmpeg.cpp:45: /home/tj/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: ..../opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1475: 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

Any idea?

Thanks,

Why am I getting this error? Installation issue in Ubuntu 10.04 LTS

Hello,

Basically, followed this step.

http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html

got source from git clone https://github.com/Itseez/opencv.git

I typed make and waited..but got error..

[ 15%] Built target pch_Generate_opencv_highgui Scanning dependencies of target opencv_highgui [ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.cpp.o [ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_images.cpp.o [ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o In file included from ..../opencv/modules/highgui/src/cap_ffmpeg.cpp:45: /home/tj/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: ..../opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: ..../opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1475: 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

Any idea?

Thanks,