Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unresolved inclusions in OpenCV android tutorial 4.

Hi guys I am trying to get the android openCV tutorial 4 to mix native and java code. I followed all the steps but in the jni_part.cpp I am getting a bunch of errors:

Unresolved inclusion: <opencv2/core/core.hpp>
Unresolved inclusion: <opencv2/imgproc/imgproc.hpp>
Unresolved inclusion: <opencv2/features2d/features2d.hpp>
Unresolved inclusion: <vector>

Symbol 'std' could not be resolved
Symbol 'cv' could not be resolved

Type 'Mat' could not be resolved
Type 'FastFeatureDetector' could not be resolved

I think you get the point, there is basically one or more of these on every line. I tried cleaning the project, I tried this solution. and unfortunately it did not work. Does anyone know what I might be doing wrong? Thanks!