新手问题 求教 rtesseract 安装失败

juventusryp · 2012年10月22日 · 最后由 ywjno 回复于 2012年10月23日 · 3711 次阅读

win7 下 使用命令 gem install rtesseract 是如下错误

Building native extensions. This could take a while... ERROR: Error installing rtesseract: ERROR: Failed to build gem native extension.

C:/Ruby186/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes 无效驱动器规格。 Unable to get ImageMagick version *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

如果使用本地安装命令

G:>gem install rtesseract-0.0.13.gem -l ERROR: Error installing rtesseract-0.0.13.gem: rtesseract requires rmagick (>= 2.10.1, runtime)

是这个错误 求大牛指导下该怎么安装

是编译问题,我没有 Windows 下的开发经验,帮不了你,不过我想通常遇到这种编译依赖问题,要么你用 Linux/Mac/Unix 要不你试试看 cgwin?

不知道这篇文章对你有没有帮助

需要 登录 后方可回复, 如果你还没有账号请 注册新账号