I am trying to compile tesseract 4 (libtesseract.so) for ARM_64 bit & ARM_32 bit architectues for android (compiling on a windows 10 PC). I am using this doc for reference:
Problem with 1st approach:
The problem is, i am not able to run the steps of the first approach of
ndk-build -C tess-two-git/tess-two tesseract APP_ABI=arm64-v8a
Tried with Cgywin for windows, and also with virtual box (with ubuntu 18). Get the same error
"ndk-build command not found"
Now, are there any additional steps i need to follow to make it work? Where to run it, how to run? Any suggestions would be great.
Problem with 2nd approach:
When i tried the 2nd docker based approach, i was able to succesfully create a libtesseract.so file for ARM8 (64bit). But, when i tried it on actual android device, tesseract initialization failed at
tessHandle = TessBaseAPICreate();
with the error
"Unable to load DLL "libtesseract.so": The specified module could not be found."
What did I do wrong here? Any suggestions about what could have caused this failure?
[ libtesseract.so has been compiled using virtual machine (with ubuntu 18), following the steps mentioned in above doc]
[this compiled libtesseract.so file is present in attachement, if anyone wants to check it out]
Thanks
Nikko