OpenCV4Android SDK sample运行中ndk-build not found in PATH的错误解决
2013-03-20 23:55
423 查看
按照http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html 的步骤一步一步安装下来,一切都正常,就是最后在OpenCV Sample-face-detection和OpenCV Tutorial 2两个实例中出现了如下图所示的错误。在试了几种不同的方法后.终于解决.
如教程中所说
At this point you should be able to build and run the samples.Keep in mind, that face-detection and Tutorial 2 - MixedProcessing include some native code and requireAndroid
NDK and NDK/CDT plugin for Eclipse to build working applications. Ifyou haven’t installed these tools, see the corresponding section of Introduction
into Android Development.
所以我去下载了 http://developer.android.com/tools/sdk/ndk/index.html 在windows上运行的NDK
解压缩后,在系统的环境变量的PATH里添加了NDK的路径,重启eclipse,问题解决。
我的环境是Win7+Eclipse
如教程中所说
At this point you should be able to build and run the samples.Keep in mind, that face-detection and Tutorial 2 - MixedProcessing include some native code and requireAndroid
NDK and NDK/CDT plugin for Eclipse to build working applications. Ifyou haven’t installed these tools, see the corresponding section of Introduction
into Android Development.
所以我去下载了 http://developer.android.com/tools/sdk/ndk/index.html 在windows上运行的NDK
解压缩后,在系统的环境变量的PATH里添加了NDK的路径,重启eclipse,问题解决。
我的环境是Win7+Eclipse
相关文章推荐
- JSP页面顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的问题解决
- 解决办法:错误异常The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 项目忽然出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
- Hive学习2_错误: The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
- eclipse 启动 tomcat 报was not found on the java.library.path 错误的解决办法
- 错误:The superclass "javax.servlet.xxx" was not found on the Java Build Path
- JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决办法
- 错误:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path
- java eclipse maven The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
- eclipse中jsp错误javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 如何解决JSP页面顶端报错 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
- 项目出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
- Error: Program "/ndk-build.cmd" is not found in PATH
- 解决方案 错误:HttpServlet was not found on the Java build path
- 使用paramiko中 not found in known_hosts的错误解决
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 错误
- [解决]在安装Python PIL 时出现错误: Python version 2.7 required, which was not found in the registry
- Android 设置环境出现Java not found in your path的解决办法
- 使用paramiko中 Server not found in known_hosts的错误解决