Skip to main content

Thread: Error Installing OpenCV-2.3.1a on Ubuntu 11.10


i using ubuntu 11.10 , trying install opencv-2.3.1a. go through folloing sequence after downloading , unzipping opencv-2.3.1a.tar.bz2.

code:
cd tar -xvf opencv-2.3.1a.tar sudo svn co https://code.ros.org/svn/opencv/trunk mkdir makefiledir cd makefiledir sudo cmake ../opencv-2.3.1 make
this starts building opencv when 20% done, crashes following error message.

code:
make[2]: *** [modules/highgui/cmakefiles/opencv_highgui.dir/src/cap_ffmpeg.o] error 1 make[1]: *** [modules/highgui/cmakefiles/opencv_highgui.dir/all] error 2
i did search on-line , patch suggested here. there 2 problems this.


  • there no src directory under ~/makefiledir/modules/highgui/
  • i found src directory under ~/opencv-2.3.1/modules/highgui/ version of cap_ffmpeg.cpp did not contain of code fix said supposed change. e.g. did not have "== enc->codec_type && video_stream < 0) {"



assistance resolving problem appreciated.
peter.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Error Installing OpenCV-2.3.1a on Ubuntu 11.10


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support