-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
leptonica allheaders.h not found #272
Comments
I spent a lot of time solving this problem. I'm on the Windows platform, but I think it should be similar for other platforms. First, I installed MSYS2 and used it to install the MinGW toolchain.
If it shows: After that, I made modifications to otiai10's code in client.go: /* That solved the problem. By the way, you also need to set an environment variable TESSDATA_PREFIX to let Tesseract know where your training data is stored. |
I bumped into this same issue on MacOS Ventura 13.5. It seems like that with the latest library versions installed by Homebrew (tesseract@5.3.2, leptonica@1.83.1), one of two things need to happen in order to get this library to work.
The latter doesn't require any environment variables, so it seems a much more portable way to get up and running. I don't fully understand the ramifications of using pkg-config, though. If it doesn't introduce backward incompatibility, would you be open to using it? |
Summary
Things I tried:
Environment
I saw those issues but never found a fix:
#271 #234 #263 #260
The text was updated successfully, but these errors were encountered: