*$ git clone -b "4.1" --single-branch https://github.com/alexcohn/tess-two.git tess-two-git-2* Cloning into 'tess-two-git-2'... remote: Enumerating objects: 34, done. remote: Counting objects: 100% (34/34), done. remote: Compressing objects: 100% (34/34), done. remote: Total 11423 (delta 1), reused 27 (delta 0), pack-reused 11389 Receiving objects: 100% (11423/11423), 157.20 MiB | 1.20 MiB/s, done. Resolving deltas: 100% (6708/6708), done.
*$ ndk-build -C tess-two-git-2/tess-two tesseract APP_ABI=arm64-v8a APP_PLATFORM=android-24* Android NDK: WARNING: APP_PLATFORM android-24 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-24. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information. make: Entering directory `.../tess-two-git-2/tess-two' make: *** No rule to make target `jni/../../tesseract/src/api/tesseractmain.cpp', needed by `obj/local/arm64-v8a/objs/tesseract/api/tesseractmain.o'. Stop. make: Leaving directory `.../tess-two-git-2/tess-two' *$ ll tess-two-git-2/tess-two/obj* ls: cannot access 'tess-two-git-2/tess-two/obj': No such file or directory Branch : 4.1, no *tess-two/ob*j dir, created no changes. Le lundi 5 août 2019 07:00:22 UTC, Alex Cohn a écrit : > > On Monday, August 5, 2019 at 8:21:32 AM UTC+3, JB Data31 wrote: >> >> https://github.com/tesseract-ocr/tesseract/wiki/Compiling#android >> >> *$ date* >>> Mon Aug 5 04:58:08 UTC 2019 >>> *$ git clone https://github.com/alexcohn/tess-two.git >>> <https://github.com/alexcohn/tess-two.git> tess-two-git* >>> Cloning into 'tess-two-git'... >>> >> ... >>> Resolving deltas: 100% (7359/7359), done. >>> >> > Which branch did you check in this time? > > >> >>> *$ ndk-build -C tess-two-git/tess-two tesseract APP_ABI=arm64-v8a >>> APP_PLATFORM=android-24*Android NDK: WARNING: APP_PLATFORM android-24 >>> is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK >>> binaries will *not* be compatible with devices older than android-24. See >>> https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md >>> >>> for more information. >>> make: Entering directory `.../tess-two-git/tess-two' >>> *make: *** No rule to make target >>> `jni/../../tesseract/src/api/tesseractmain.cpp', needed by >>> `obj/local/arm64-v8a/objs/tesseract/api/tesseractmain.o'. Stop.* >>> make: Leaving directory `.../tess-two-git/tess-two' >> >> > Also, there may be old *.o.d* files under *tess-two-git/tess-two/obj*, it > sometimes helps to delete them. > > BR, > Alex > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/5b00fa61-61ce-478f-b09a-042497ae1903%40googlegroups.com.