I am trying to follow the instructions specified here to install OpenCV for Wlipse.
The instructions state:
Open Project Properties -> C/C++ Build, and replace “Build command” text to "${NDKROOT}/ndk-build"
However, if I open my Project Properties I have no C/C++ section.
I am using Android SDK ADT Bundle for OSX
I have downloaded the NDK
I have set the NDK location under ADT->Properties->Android->NDK
I have validated that the Android Native Dev Tools and C/C++ Dev Tools are installed
I have imported the project correctly
Why don't I have a C/C++ section under Project->Properties
Next problem.
Ok I have found how to add the c/c++ build command thanks to srikanth gr
Now when i try and build the OpenCV Library I get the following error
OpenCV.mk: No such file or directory
the current reference in the jni/Android.mk is
include OpenCV.mk
I did a search on my system and no OpenCV.mk file exists. There is a OpenCV.mk.in. Do i need to build that to create the OpenCV.mk? If so how?
Thanks
Your description lacks right click on project, "Android Tools" -> "Add NativeSupport..."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With