OpenCV is used in the development of Android JNI, and it is not going to use the Lib reference of the Android layer because it wants to implement by JNI.
However, in the operation of the present. cpp file include in the time found "#include <opencv.hpp>" (opencv.hpp below OPENCV2) reported a warning that "fatal error:opencv.hpp:No Such file or directory ", saying that no files were found. I was wondering, I clearly set in the include relationship,
and "CTRL + click" can also jump to the source code.
Then after a few attempts and see the online "#include <opencv2/opencv.hpp>", so I changed the include path to
The include section of the file is written as "#include <opencv2/opencv.hpp>", once again compiled, and found to be solved. But still doubts before a kind of including relations ask what not to, have know can say.
Eclipse + CDT introduces a workaround for OPENCV failure