首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Android NDK_PROJECT_PATH=null

Android NDK_PROJECT_PATH=null
EN

Stack Overflow用户
提问于 2018-10-30 11:01:12
回答 1查看 1.3K关注 0票数 1

我正在用安卓开发OpenCV。我试过人脸检测样本。但我总是犯同样的错误,请帮帮忙。

生成命令失败。在执行带有参数的进程C:\Users\Cevdet\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd时出错{ APP_BUILD_SCRIPT=C:\Users\Cevdet\AndroidStudioProjects\face-detection\openCVSamplefacedetection\src\main\jni\Android.mk NDK_APPLICATION_MK=C:\Users\Cevdet\AndroidStudioProjects\face-detection\openCVSamplefacedetection\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=Androd-16_OUT=C:/Users/Cevdet/AndroidStudioProjects/face-detection/openCVSamplefacedetection/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Users\Cevdet\AndroidStudioProjects\face-detection\openCVSamplefacedetection\build\intermediates\ndkBuild\debug\lib C:/Users/Cevdet/AndroidStudioProjects/face-detection/openCVSamplefacedetection/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libdetection_based_tracker.so} armeabi-v7a SharedLibrary : libdetection_based_tracker.so C:/User/Cevdet/AndroidStudioProjects/face-detection/openCVSamplefacedetection/src/main/jni/DetectionBasedTracker_jni.cpp:34:错误:对'DetectionBasedTracker::DetectionBasedTracker(std::__ndk1::basic_string,的未定义引用std::__ndk1::allocator > const&,DetectionBasedTracker::Parameters const&)‘clang++.exe: clang++.exe: linker命令失败,退出代码1(使用-v查看调用) make:*clang++.exe错误1

EN

回答 1

Stack Overflow用户

发布于 2018-10-30 11:10:42

您需要为您的项目设置OpenCV librairies。

您可以按照这里的指示->https://stackoverflow.com/a/22427267/5773037

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53062866

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档