Cannot Include Header File in JNI

asked 2014-04-06 13:21:16 -0600

I have been trying to write a JNI of OpenCV 2.4.8 FaceRecognizer for my Android project.

I have set the "include" properties for the native/jni/include folder, I tried Ctrl + click on "#include "opencv2/core/core.hpp"", and core.hpp opened successfully.

However, when I build the project, the error comes out:

fatal error: opencv2/core/core.hpp: No such file or directory

I have read lots of solutions and I have the already fixed, but the problem still exist.

I have put the path to the sample projects:


and it works, only does not work on my project.

What's happening?

edit retag flag offensive close merge delete