I installed OpenCV on my Raspberry, I wrote the first sample program (http://docs.opencv.org/doc/tutorials/introduction/display_image/display_image.html). It compile correctly, but if executed from Code::Blocks it gave an error because miss an argument that must be given from CLI.
The program should only show an image in a window. The problem is that when I try to execute it from CLI I get an error.
./First: error while loading shared libraries: cv2.so: cannot open shared object file: No such file or directory.
What should I do? Where could I find cv2.so?