Hi,
I am newbie to OpenCV. I am using latest version for android openCVLibrary343. getting error while running project..
Build command failed.
Error while executing process C:\Users\admin\AppData\Local\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=E:\MyOpenDetections\app\src\main\jni\Android.mk NDK_APPLICATION_MK=E:\MyOpenDetections\app\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=E:/MyOpenDetections/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=E:\MyOpenDetections\app\build\intermediates\ndkBuild\debug\lib E:/MyOpenDetections/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libMyLibs.so}
[armeabi-v7a] Compile++ thumb: MyLibs <= com_sar_pahc_DetectionBasedTracker.cpp
[armeabi-v7a] Prebuilt : libopencv_java3.so <= E:/OpenCV-android-sdk/sdk/native/jni/../libs/armeabi-v7a/
[armeabi-v7a] SharedLibrary : libMyLibs.so
E:/MyOpenDetections/app/src/main/jni/com_sar_pahc_DetectionBasedTracker.cpp:37: error: undefined reference to 'cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__ndk1::vector<cv::rect_<int>, std::__ndk1::allocator<cv::rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>)' clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation) make: * [E:/MyOpenDetections/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libMyLibs.so] Error 1
Unable to figure out what is the issue. I tried to use gnustl_static but ndk not supporting it and stop the build with an error. Please help guys.