As a first step of a *tesseract* *androïd* use, I try/achieve the build of *tesseract* and execute with a shell on my device. That's not a stock way to execute app on Androïd, but very instructive. According NDK guides <https://developer.android.com/ndk/guides/standalone_toolchain>, § *C++ STL support*, the recommendation is to build static. So do I.
Back to NDK user group to get forward. Le mardi 25 juin 2019 20:18:48 UTC, Alex Cohn a écrit : > > What kind of static build do you expect? Android apps need a shared > library to work, but still it may be possible to build an executable binary > that will be statically linked (i.e. no shared libs to load). > > BR, > Alex Cohn > > On Monday, June 24, 2019 at 11:15:21 AM UTC+3, zdenop wrote: >> >> Thanks! Can you write some tutorial, how to make static android build? >> >> I tried shared build on windows (but I did not test it on android device >> - no time to learn this ;-) ), and it looks quite easy with cmake: >> >> 1. Download android-ndk-r20-windows-x86_64.zip ( >> https://developer.android.com/ndk/downloads/) >> 2. Build and install leptonica (no other dependency) >> 3. "Finetune >> >> <https://github.com/tesseract-ocr/tesseract/issues/2337#issuecomment-500238192>" >> >> cmake option for tesseract and build it... >> >> Of course I understand that building static tesseract library including >> dependencies is much more difficult, so maybe documenting your progress >> could be useful for a lot of people. >> >> >> Zdenko >> >> >> pi 21. 6. 2019 o 16:21 JB Data31 <jbda...@gmail.com> napísal(a): >> >>> Hi, >>> >>> I achieve the Androïd build of *tesseract* (June src git clone) and >>> test on device. >>> I use the post [tesseract-ocr] Re: Recognition of "5" instead of "S" >>> <https://groups.google.com/forum/#!topic/tesseract-ocr/kIKc1mWH-1I> as >>> a testcase, see attached screenshot. >>> >>> *Tesseract* Androïd build is not a trivial way, NDK struggle >>> <https://groups.google.com/forum/#!topic/android-ndk/EJTJ17EhLOY> as an >>> not proper tutorial to pass. >>> >>> @*JB*Δ <http://jbigdata.fr/jbigdata/android.html> >>> >>> >>> Le sam. 25 mai 2019 à 08:49, Zdenko Podobny <zde...@gmail.com> a écrit : >>> >>>> Hi all, >>>> >>>> this issue[1] is open for quite a while: I know there are people who >>>> successfully build tesseract for android. Can somebody experienced (at >>>> android builds) have a look at this and provide: >>>> >>>> 1. fix for this issue >>>> 2. step by step tutorial how to build tesseract for android >>>> >>>> I would like to solve it for next tesseract 4.1 release... >>>> >>>> [1] https://github.com/tesseract-ocr/tesseract/issues/1393 >>>> >>>> Zdenko >>>> >>>> -- >>>> 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 tesser...@googlegroups.com. >>>> To post to this group, send email to tesser...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/tesseract-ocr. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yS5ZRgZ-O%3DhHF4eBhHDeePRbNeMDQEJ6EHUpZGp05o5A%40mail.gmail.com >>>> >>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yS5ZRgZ-O%3DhHF4eBhHDeePRbNeMDQEJ6EHUpZGp05o5A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> 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 tesser...@googlegroups.com. >>> To post to this group, send email to tesser...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/tesseract-ocr. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tesseract-ocr/CA%2BPN%3DMx9hTW0XH4XAzjRnXM6nEqjdT3DfgAs_WskUMH1uJY%2B8A%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/tesseract-ocr/CA%2BPN%3DMx9hTW0XH4XAzjRnXM6nEqjdT3DfgAs_WskUMH1uJY%2B8A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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 post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/ec371275-bf31-4a6d-9259-c943020a8e19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.