-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text2image needs pango_training.so which in turn is not installed #4232
Comments
Did you build text2image yourself (if yes: how)? And how did you install it? |
Yes, I build it for Android. I din't give you the reproduce steps, because it is very clear if you look at the source code https://github.com/tesseract-ocr/tesseract/blob/main/src/training/CMakeLists.txt#L405-L412 My build instuctions:
|
I am curious: Are there useful applications for training on Android? |
I found this when I built it for Android, I think this problem is nothing to do with specific platform.
I create it in dot https://graphviz.org/doc/info/command.html |
Why do you try to build training tools if you are not able/want to use them on your platform? Just to get extra issues?
I see no reason why to install
The reason is very simple - the official build process for training tools uses static linking. |
If you want to static linking, you should change |
It a feature not a bug, so I'm closing. |
Current Behavior
text2image
needspango_training.so
which in turn is not installedExpected Behavior
pango_training.so
installed.Suggested Fix
https://github.com/tesseract-ocr/tesseract/blob/main/src/training/CMakeLists.txt#L405-L412
change to:
tesseract -v
No response
Operating System
Ubuntu 22.04 Jammy
Other Operating System
Android
uname -a
Linux leleliu008 6.5.0-28-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 28 23:46:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Compiler
Android NDK r26d (clang version 17.0.2)
CPU
aarch64
Virtualization / Containers
No response
Other Information
source: https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.3.4.tar.gz
The text was updated successfully, but these errors were encountered: