Open gioknx opened 8 years ago
Had this issue (OS X El Capitan). Fixed by downgrading tesseract with
brew uninstall --force tesseract
brew install https://raw.githubusercontent.com/Homebrew/homebrew/8ba134eda537d2cee7daa7ebdd9f728389d9c53e/Library/Formula/tesseract.rb
and updating xcode
xcode-select --install
the link to the homebrew repo doesn't work anymore...any other solution ?
is this still broken ?
the link is now functional, but I get the following error:
brew install https://raw.githubusercontent.com/Homebrew/homebrew/8ba134eda537d2cee7daa7ebdd9f728389d9c53e/Library/Formula/tesseract.rb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
No changes to formulae.
######################################################################## 100.0%
Error: Calling Resource#sha1 is disabled!
Use Resource#sha256 instead.
/Users/bricemaurin/Library/Caches/Homebrew/Formula/tesseract.rb:123:in `block (2 levels) in <class:Tesseract>'
@chivoX any idea how to fix this ? Thanks !
`g++ -shared -fPIC -o /tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.so /tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.cpp -ltesseract 2>>/tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.log /tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.cpp:1:30: fatal error: tesseract/strngs.h: No such file or directory
include <tesseract/strngs.h>
compilation terminated.`