meh / ruby-tesseract-ocr

A Ruby wrapper library to the tesseract-ocr API.
629 stars 74 forks source link

[Windows NT] Compilation Error #20

Closed khmm12 closed 11 years ago

khmm12 commented 11 years ago

Ruby error log: http://pastebin.com/pyfFMFyL Any ideas?

meh commented 11 years ago

Can you paste the logs it points you to please?

khmm12 commented 11 years ago

sh -c 'g++ -shared -fPIC -o C:/Users/khmm/AppData/Local/Temp/.ffi-inline-0/1f11a16a78977b21fe9bee0abe3f069e82a0dc22.dll C:/Users/khmm/AppData/Local/Temp/.ffi-inline-0/1f11a16a78977b21fe9bee0abe3f069e82a0dc22.cpp -ltesseract' 2>>C:/Users/khmm/AppData/Local/Temp/.ffi-inline-0/1f11a16a78977b21fe9bee0abe3f069e82a0dc22.log "sh" is not recognized as an internal or external command, operable program or batch file.

meh commented 11 years ago

Yeah, ffi-inline needs some patching to work on Windows, I'm not a Windows developer and don't have a machine with Windows, so I can't fix the issue.

You're welcome to send pull requests there, closing here given it's not a bug of this project.