【问题标题】:Unable to build tess-two library无法构建 tess-two 库
【发布时间】:2016-07-12 10:02:24
【问题描述】:

我正在尝试按照本教程构建 tess-two 库: http://www.codeproject.com/Tips/840623/Android-Character-Recognition 在 Windows 上,库的编译在 Linux 上立即失败我收到以下错误:

make: Entering directory "/home/daniele/tess/eyes-two/src/main"
[armeabi] Compile++ thumb: hydrogen <= clusterer.cpp
[armeabi] Compile++ thumb: hydrogen <= hydrogentextdetector.cpp
[armeabi] Compile++ thumb: hydrogen <= thresholder.cpp
[armeabi] Compile++ thumb: hydrogen <= utilities.cpp
[armeabi] Compile++ thumb: hydrogen <= validator.cpp
[armeabi] Compile++ thumb: hydrogen <= hydrogentextdetector.cpp
[armeabi] Compile++ thumb: hydrogen <= thresholder.cpp
[armeabi] Compile++ thumb: hydrogen <= jni.cpp
make: ***  No rule to make target "jni/../../../../tess-two/libs/armeabi/liblept.so", needed by "obj/local/armeabi/libhydrogen.so".  Stop.
make: Leaving directory "/home/daniele/tess/eyes-two/src/main"

这些是我已经完成的步骤:

export ANDROID_HOME=/home/daniele/Android/Sdk/
export ANDROID_NDK_HOME=/home/daniele/Android/Ndk
git clone git://github.com/rmtheis/tess-two tess
cd tess
sudo /home/daniele/Android/Ndk/ndk-build -C eyes-two/src/main/

【问题讨论】:

    标签: android android-ndk tesseract ndk-build tess-two


    【解决方案1】:

    那个教程已经过时了。您可以按照 tess-two 项目中的 instructions(请参阅“用法”)跳到该教程中的第 3 步。这将使用库的预编译版本,因此您不必自己构建 C++ 代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-23
      • 2013-11-05
      相关资源
      最近更新 更多