-
Notifications
You must be signed in to change notification settings - Fork 74
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
Compilation Error when requiring tesseract #63
Comments
Any luck for error in Updated Section ? I too facing the same problem. |
this worked for me : #50 (comment) |
I'm having the same problem.
The fix from #50 does not work for me (or rather I don't understand how to apply it) as I'm on Ubuntu 16.04 and not Mac. The log states
|
On mac for several years only Tesseract 3.05 has been released on Homebrew, and this ruby wrapper doesn't support Tesseract > 3.03...
For debian:
Then we need french extension and there is a naming error so we run this script: We do that from 2014... So we would appreciate that the #50 is accepted and a new release should be released. |
same issue here
Ruby
Also tested on Mac with the same result |
I've been trying to fix this error for quite some time now but nothing seems to work. Weird thing is, the gem used to work for me. I used it on quite a few images and it produced pretty good results. Then one day, requiring the gem just started throwing compilation errors.
I've read through the other Compilation Error posts but i don't think the same problem occurs here/the solution there didn't work for me.
Ruby version :
Tesseract version :
OS :
Debian GNU/Linux 8 (jessie)
I built the leptonica and tesseract libraries from source and the tesseract command line tool works beautifully.
Here's the error output:
Within irb :
Log file :
require 'tesseract-ocr'
produces the same error.So on looking at the log file i noticed from the first part that
stdint.h
seems to be missing. But even after adding that header file the error doesnt change.List of headers :
Please help.
UPDATE:
So i removed the tesseract version i had and built the 3.05.00 release. I still get a compilation error though. But this time the contents of the log file are different.
Log File:
Tesseract Version:
The text was updated successfully, but these errors were encountered: