I’m on MacOS, I created a new project using TinderBox, added the OpenCV library, and tried to build, but got 10 errors from the CinderOpenCV.h file.
Unknown type name 'Vec2f'; did you mean 'cv::Vec2f'?
Use of undeclared identifier 'Vec2f'
Unknown type name 'Vec2f'; did you mean 'cv::Vec2f'?
No member named 'y' in 'Vec<float, 2>'
And a number of others. I have OpenCV built and installed on my system, and I’ve check all the linker flags I’m not sure what the issue is. Seems like a namespace issue, but this is the library from github, I assume it would be working out of the box.
You only need step 4. because you put the block in a different folder than expected. The name of the block is Cinder-OpenCV3, if it is called like that you don’t have to change the linker settings.
I just cloned Cinder-OpenCV3 and built some samples in XCode. I did not see the problem you are having.
The sample project files have the old cinder library location, so you have to change the path of libcinder.a in Other linked flags: Other linker flags/Debug "$(CINDER_PATH)/lib/macosx/Debug/libcinder.a" Other linker flags/Release "$(CINDER_PATH)/lib/macosx/Release/libcinder.a"
I suggest that you should build the samples and check if they work.