OpenCV 2.4.3rc Samples do not run in NDK r8b

asked 2012-11-02 18:00:46 -0500

Chayan gravatar image

I am using windows and trying to build OpenCV Tutorial 3 - Add Native OpenCV in OpenCV4Android 2.4.3. I have followed all the instructions in the following two tutorials

I am trying to build the tutorial 3 in Eclipse and getting the following in console,

17:45:42 * Auto Build of configuration Default for project OpenCV Tutorial 3 - Add Native OpenCV * "C:\android-ndk-r8b\ndk-build.cmd" "Compile++ thumb : native_sample <= jni_part.cpp

In file included from jni/jni_part.cpp:1:0: C:/android-ndk-r8b/platforms/android-14/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4 SharedLibrary :

Install : => libs/armeabi-v7a/

17:45:44 Build Finished (took 2s.247ms)

The file has been correctly produced. Still, I am getting error that "There is error in the project". Then I've gone to jni_part.cpp and it is showing that it is not getting the header "vector". and it is not understanding the namespace "std". It is also not being able to find FastFeatureDetector. How can I compile it and run it?

edit retag flag offensive close merge delete


Hello @Chayan, I am also in OpenCV Tutorial 3 and produced lot of errors. I know you can help me about my problem. How did you resolve the error "Cannot run the program ndk-build.cmd: The system cannot find the file specified" in Tutorial 3? Please help. My original post

Karl gravatar imageKarl ( 2012-11-13 14:55:48 -0500 )edit