Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Installation of opencv 3.0 GOLD on raspberry pi 2 ERROR

Hi all, I've been looking all day for a good tutorial on installing opencv 3.0 , si i've foolow this link : http://docs.opencv.org/3.0-last-rst/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation

after building and when i test any of the samples in cpp folder it give me an error

error while loading shared libraries: libopencv_calib3d.so.3.0: cannot open shared object file: No such file or directory

after that i found that the libraries is in ./usr/local/lib/libopencv_calib3d.so.3.0 folder so i add it : sudo g++ -I/usr/include/opencv facedetect.cpp -o face -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_flann -L/usr/local/lib/ -libopencv_calib3d.so.3.0

error ==> /usr/bin/ld: cannot find -libopencv_calib3d

also i've added /usr/local/lib to /etc/ld.so.conf.d/opencv.conf and runs ldconfig but didn"t resolve the problem plz help !! thanks :)