News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

from opencv2.4 to 3.3 --> what changes in settings and include

Started by niconol, October 05, 2017, 11:43:22 AM

Previous topic - Next topic

niconol

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?

BlueHazzard

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

niconol

After restarting code blocks

I now have no problem with settings, in reality, it seems to be the same than for 2.x (no changes)

Thanks a lot