Cannot find opencv2 in native c++ android studio

asked 2016-06-08 04:54:20 -0500

elish gravatar image

updated 2016-06-08 04:54:54 -0500

I have a project in android studio, I added native c++ file, and in that file i am trying to include:

#include <jni.h>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc_c.h>

but he cannot find the opencv2. In my main activity i checked-

(!OpenCVLoader.initDebug())

and it is loaded.
Does any one know why he cannot find the opencv2 ?
Thank you!

edit retag flag offensive close merge delete