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/d...
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 :)
try:
-lopencv_calib3d
not-libopencv_calib3d.so.3.0
this didn't solve the problem but i have add the : sudo nano /etc/ld.so.conf.d/opencv.conf
put in a new line : /usr/local/lib thanks :)