Oh, I now understand the problem. You need git clone --recurse-submodules. To add the missing submodules after *clone*,
git submodule init git submodule update BR, Alex On Tuesday, August 13, 2019 at 1:31:20 PM UTC+3, JB Data31 wrote: > > *$ git clone -b "4.1" --single-branch > https://github.com/alexcohn/tess-two.git > <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. > -- 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/5c95d674-d7d9-42b3-b677-d04b7032bf83%40googlegroups.com.