I am new to Android NDK and I have to use OpenCV in Android.
I tried to ran the NDK ahead , but these errors happened. Maybe I have no permission to use the file" /obj/local/armeabi/libopencv_contrib.a",How can I get the permission? And can the next error be OK when the first error is solved? My workspace OS is Windows7.
翻译:我是一个使用Android NDK的新手,而且我必须在android上面使用OpenCV开发包。
我试图跑NDK,但下面这些错误发生。也许我没有权限来使用文件“/ obj / local / armeabi / libopencv_contrib.a。 “,我怎样才能得到许可呢?并且可以接下来的错误可以当第一个错误是解决吗?我的工作空间是操作系统Windows7。
错误:$ NDK-build
SharedLibrary : libImgFun.so D:/Android/android-ndk-r7b-windows/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/libopencv_contrib.a: No such file: Permission denied
collect2: ld returned 1 exit status /cygdrive/d/Android/android-ndk-r7b-windows/android-ndk-r7b/build/core/build-binary.mk:314: recipe for target `obj/local/armeabi/libImgFun.so' failed make: *[obj/local/armeabi/libImgFun.so] Error 1

本文介绍了一个关于在Windows 7上使用Android NDK和OpenCV时遇到的文件权限问题及其解决方案。作者尝试运行NDK时遇到了无法访问特定OpenCV库文件的错误,并通过调整文件权限成功解决了该问题。
7163

被折叠的 条评论
为什么被折叠?



