opencv2 compatibility#10
Conversation
|
Hi Smihael, I think the problem is the OpenCV version, the versions above 3.0 works with the include: Look at these links: With OpenCV version are you using? |
|
Exactly, the problem is that in Ubuntu 16.04 repositories only OpenCV2 2.x is available. There is no need to require OpenCV 3.x as the code compiles and runs fine with OpenCV 2.x. |
|
I think we can check the OpenCV version on the compilation time. Look at this link: So we can do a marco #if like that:
I do not tested this code, but I think it works. |
This should maybe be added as an extra branch to enable compiling on Ubuntu 16.04 (see #1 and #2)