OpenCV syntax highlighting error

I downloaded the official version of iOS framework from opencv.org and then created a simple view-based Xcode project and added the opencv2.framework in the build phases menu.
After that I imported the opencv2.framework as:

#import <opencv2/opencv.hpp>

into the *.pch file.

AppCode shows error. AppCode+Opencv.jpg

Meanwhile there is no error at compile time and everything fine in Xcode.
Can you please help me to find a solution to this problem?

4 comments
Comment actions Permalink

Denis,
please follow http://youtrack.jetbrains.com/issue/OC-5372 and reattch the screenshot there - we can't see it here.

0
Comment actions Permalink

Denis, can you also attach a sample project that shows the problem to the issue? We cannot reproduce the problem.

0
Comment actions Permalink

I attached a sample project. The project can be build without any errors or warnings but AppCode shows that 'cv::Mat' can't be resolved.

0

Please sign in to leave a comment.