-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
tesseract training tools under msys2/mingw64 don't build #562
Comments
Can you try revert this 7755e05 ? |
Current Mingw-w64 as included in Cygwin includes these libraries in package |
@zdenop, reverting that commit will work with old versions of icu. We don't support them for Linux, and for Windows there are also newer versions available. If support for both old and new versions is required, we need a test in configure. |
@stweil Ouput from mingw64 console: Output from pacman: This files: libicudata.dll.a libicui18n.dll.a libicuio.dll.a libicule.dll.a libiculx.dll.a libicutest.dll.a libicutu.dll.a libicuuc.dll.a seems to be present in '/usr/lib' My host is Windows 7 x64, msys2 installed a few days ago, must be pretty up to date. |
If you use MSYS / MinGW from http://www.mingw.org/, then even the latest installation is old. :-( Use Mingw-w64 from https://mingw-w64.org/ or install Cygwin from https://cygwin.com/ with the mingw64-* packages. Both solutions allow building 32 or 64 bit Tesseract for Windows. |
I'm using MSYS2 Installer from https://msys2.github.io/ |
I'll have a look tomorrow. Good night for today. |
ok, good night. |
msys2.github.io provides a recent package
This results in the reported build error. Cygwin has a package
Note that the versions are nearly identical. I was wrong when I thought that it was a problem of old versions of libicu. We need a |
PR #572 addresses all issues which I had with the MSYS2 Installer from https://msys2.github.io/. |
Thanks for your effort! |
@djusHa, the latest version in git includes the changes now. Don't forget to run |
Thumbs up! :-) It compiles fine now. Thanks for fixing. |
Hi,
building training tools in current master branch under MSYS2/mingw64 throws following Error:
...x86_64-w64-mingw32/bin/ld.exe: cannot find -licui18n
It seems the lib is named differently.
My quick Solution is to change libicu in training/Makefile like so:
sed -i 's/^libicu = -licui18n -licuuc/libicu = -licuin -licuuc/' training/Makefile
Then it's building fine.
Thanks for your awesome Work.
The text was updated successfully, but these errors were encountered: