I work in a raspbian target.
I used opencv 2.4.x
for this:
#include <opencv2/opencv.hpp>
in my code
'pkg-config opencv --cflags'
'pkg-config opencv --libs
in my compiler and linker settings.
But now I want to link to 3.3.0 version.
How can I do that? There is no directory opencv3 after installing it, but I checked that :
pkg-config --modversion opencv
3.3.0
Any idea?
1) Without full rebuild log we can not help (see http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
2) Have you restarted codeblocks after installing the new library? Codeblocks caches the results of
'pkg-config opencv --cflags'
'pkg-config opencv --libs
I don't know exactly when codeblocks clears its cache but i am sure that a restart count, and a simple project load not for sure...
2) This does not seem to be a codeblocks related question (unless point 2) )...
3) Some links that may help you:
https://stackoverflow.com/questions/30940122/how-to-install-2-opencv-versions-on-one-ubuntu-machine-and-how-to-activate-one-a