大厦的tesseract与Android NDK [英] Building Tesseract with Android NDK
问题描述
我在下面的这个教程编译为Android 的tesseract这叉(光学字符识别包)。我在那里我使用Cygwin建立NDK为Android版的tesseract项目的步骤。 (从苔丝个目录)调用NDK的构建时,我收到以下错误:
<$p$p><$c$c>c:/android-ndk-r8b-windows/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/$p$pbuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe:找不到./obj/local/armeabi-v7a/libgnustl_static.a:权限被拒绝这可能是造成这个错误?在一个侧面说明,有更简单的方式来获得的tesseract并运行在Android上?
在Windows下,运行命令提示符作为管理员,然后再试一次:
搜索 - > cmd.exe->右键单击 - >以管理员身份运行
Cygwin的是不必要的 - 只使用Windows本身。您可以按照自述建立在叉的tesseract说明。您关注的博客,使过程更加复杂得多必要的。
I'm following this tutorial to compile this fork of Tesseract (an optical character recognition package) for Android. I'm at the step where I use Cygwin to build the NDK for the Tesseract Android project. I'm getting the following error when invoking ndk-build (from the tess-two directory):
c:/android-ndk-r8b-windows/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.exe: cannot find ./obj/local/armeabi-v7a/libgnustl_static.a: Permission denied
What could be causing this error? On a side note, is there an easier way to get Tesseract up and running on Android?
Under Windows, run your command prompt as an administrator and try again:
Search->cmd.exe->Right-click->Run as Administrator
Cygwin is unnecessary--just use Windows itself. You can follow the README build instructions on the Tesseract fork. The blog you're following makes the process more complicated than necessary.
这篇关于大厦的tesseract与Android NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!