ofxAruco icon indicating copy to clipboard operation
ofxAruco copied to clipboard

Use of undeclared identifier 'CV_AA'

Open EveraertJan opened this issue 5 years ago • 5 comments

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.

EveraertJan avatar Oct 25 '19 14:10 EveraertJan

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>

jaysonh avatar Apr 10 '20 06:04 jaysonh

This seems to work on Mac, I hope it does the same on linux

EveraertJan avatar Sep 16 '20 07:09 EveraertJan

@jaysonh thanks for the tip, this fixed an issue for me on Android.

esteimle avatar May 18 '21 20:05 esteimle

If anyone wants to send a PR that would be useful

arturoc avatar May 19 '21 18:05 arturoc

I sent a PR with the changes if you want to incorporate them.

#25

jaysonh avatar May 25 '21 05:05 jaysonh