rmtheis / android-ocr

Experimental optical character recognition app
Apache License 2.0
2.22k stars 894 forks source link

Build question #7

Closed dalb8 closed 10 years ago

dalb8 commented 11 years ago

I am trying to build this for F-droid.org. I built it normally before then when I tried to build it with F-droid (an ant frontend) there were no libsos in the result. So I tried again by copying the library repo into the main repo as follows:

Build Version:0.5.12,31,5ca566,subdir=android,srclibs=TessTwo@cbfa61eff0,prebuild=\ sed -i 's@\(android.library.reference.1=\).*@\1tess-two@' project.properties && \ cp -r $$TessTwo$$ . && $$NDK$$/ndk-build -C tess-two

(the copy command translates to cp -r TessTwo/tess-two .

The error is this which is strange as I can't find any obj/

jni/com_googlecode_tesseract_android/src/textord/tabfind.cpp:1456:1: fatal error: opening dependency file ./obj/local/armeabi-v7a/objs/tess/src/textord/tabfind.o.d: No such file or directory compilation terminated. make: *** [obj/local/armeabi-v7a/objs/tess/src/textord/tabfind.o] Error 1

I'm only chancing my arm and using a netbook at that, so I can't be trying everything. Any help would be appreciated.

rmtheis commented 10 years ago

I think this has been resolved -- please reopen if that's not the case.