Solution to the failure of Eclipse + CDT to introduce OpenCV, cdtopencv
OpenCV is used in Android JNI development. To implement it through JNI, the Lib reference of the Android layer is not used. But the operation is found in. "# include <opencv. hpp> "(opencv. hpp under opencv2) reported a warning saying "fatal error: opencv. hpp: No such file or directory ". I am confused if No file is found. I set it in the inclusion relationship,
And "Ctrl + Click" can also jump to the source code.
After several attempts and seeing the "# include <opencv2/opencv. hpp>" written on the internet, I changed the include path
The include part of the file is written as "# include <opencv2/opencv. hpp> ", re-compile, and find the problem solved, but still wondering what the previous inclusion relationship can ask. If you know, let's say.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.