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.
this starts building opencv when 20% done, crashes following error message.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
i did search on-line , patch suggested here. there 2 problems this.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
- 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
Post a Comment