Cannot Run Project in Eclipse C/C++ OpenCV 2.4.5 Ubuntu 12.10 -
i have installed opencv 2.4.5 , eclipse ide c/c++ developers on ubuntu 12.10 , followed this opencv.org tutorial. project builds no errors when reach "running executable" section eclipse, following message after hitting run:
/home/pedro/workspace/di/debug/di: error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: no such file or directory
does have suggestions on how solve issue?
edit:
using sudo dpkg -l | grep opencv
gives:
- ii libopencv-calib3d2.3 2.3.1-11ubuntu2 amd64 computer vision camera calibration library
- ii libopencv-contrib2.3 2.3.1-11ubuntu2 amd64 computer vision contrib library
- ii libopencv-core-dev 2.3.1-11ubuntu2 amd64 development files libopencv-core
- ii libopencv-core2.3 2.3.1-11ubuntu2 amd64 computer vision core library
- ii libopencv-features2d2.3 2.3.1-11ubuntu2 amd64 computer vision feature detection , descriptor extraction library
- ii libopencv-flann-dev 2.3.1-11ubuntu2 amd64 development files libopencv-flann
- ii libopencv-flann2.3 2.3.1-11ubuntu2 amd64 computer vision clustering , search in multi-dimensional spaces library
- ii libopencv-gpu-dev 2.3.1-11ubuntu2 amd64 development files libopencv-gpu
- ii libopencv-gpu2.3 2.3.1-11ubuntu2 amd64 computer vision gpu processing library
- ii libopencv-highgui2.3 2.3.1-11ubuntu2 amd64 computer vision high-level gui , media i/o library
- ii libopencv-imgproc-dev 2.3.1-11ubuntu2 amd64 development files libopencv-imgproc
- ii libopencv-imgproc2.3 2.3.1-11ubuntu2 amd64 computer vision image processing library
- ii libopencv-legacy2.3 2.3.1-11ubuntu2 amd64 computer vision legacy library
- ii libopencv-ml-dev 2.3.1-11ubuntu2 amd64 development files libopencv-ml
- ii libopencv-ml2.3 2.3.1-11ubuntu2 amd64 computer vision machine learning library
- ii libopencv-objdetect2.3 2.3.1-11ubuntu2 amd64 computer vision object detection library
- ii libopencv-video-dev 2.3.1-11ubuntu2 amd64 development files libopencv-video
- ii libopencv-video2.3 2.3.1-11ubuntu2 amd64 computer vision video analysis library
- ii opencv-doc 2.3.1-11ubuntu2 opencv documentation , examples
- ii python-opencv 2.3.1-11ubuntu2 amd64 python bindings computer vision library
- rc ros-fuerte-opencv2 2.4.2-0precise-20120908-1624-+0000 amd64 opencv
- rc ros-groovy-opencv2 2.4.4-1quantal-20130325-0857-+0000 amd64 opencv
sorry formatting not best.
the command "locate libopencv_core"
- /usr/lib/libopencv_core.a
- /usr/lib/libopencv_core.so
- /usr/lib/libopencv_core.so.2.3
- /usr/lib/libopencv_core.so.2
"locate libopencv" shows extensive list don't know if appropriate copy it.
ubuntu quency quantal 12.10 has 2.3.1 packages in it's repo: opencv in ubuntu 12.10 repo next version, raring has 2.4. i'd uninstall ubuntu 12.10's various v2.3.1 opencv related packages. (how did got installed? did install them manually, or pulled them in?). i'd try compile+install opencv source again. install stage of make procedure should provide libraries you.
Comments
Post a Comment