ofxAruco
ofxAruco copied to clipboard
Use of undeclared identifier 'CV_AA'
This and a bunch of other issues on the new xcode version. like:
Use of undeclared identifier 'CV_BGR2GRAY'; did you mean 'COLOR_BGR2GRAY'?
. When I fix them, it only goes downhill with other undeclared variables etc.
you need to add the _c type files from opencv to subpixelcorner.h and marker.h (maybe some others as well)
#include <opencv2/imgproc/imgproc_c.h> #include <opencv2/core/types_c.h>
This seems to work on Mac, I hope it does the same on linux
@jaysonh thanks for the tip, this fixed an issue for me on Android.
If anyone wants to send a PR that would be useful
I sent a PR with the changes if you want to incorporate them.
#25