I want compile an OpenCV program on Raspberry, the problem is that I didn't figure out how to do so. I installed OpenCV following this guide.
$ pkg-config --modversion opencv
2.4.1
OpenCV can be found in /home/pi/opencv-2.4.10
I use code::blocks, I found several guide on how to use that on linux in general, but not on Raspberry. One guide on how to set up code::Blocks helped me to understand, but I didn't solve the issue because despite I set compiler and linker path, in linker settings I have anything.
- I used as compiler path: /home/pi/opencv-2.4.10/include/opencv and /home/pi/opencv-2.4.10/include/opencv
- and as linker path: /home/pi/opencv-2.4.10/build/lib
What's wrong with my configuration?