Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of undeclared identifier 'CV_AA' #24

Open
EveraertJan opened this issue Oct 25, 2019 · 5 comments
Open

Use of undeclared identifier 'CV_AA' #24

EveraertJan opened this issue Oct 25, 2019 · 5 comments

Comments

@EveraertJan
Copy link

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.

@jaysonh
Copy link
Contributor

jaysonh commented Apr 10, 2020

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>

@EveraertJan
Copy link
Author

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

@esteimle
Copy link

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

@arturoc
Copy link
Owner

arturoc commented May 19, 2021

If anyone wants to send a PR that would be useful

@jaysonh
Copy link
Contributor

jaysonh commented May 25, 2021

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

#25

arturoc added a commit that referenced this issue May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants