新手问题 求教 rtesseract 安装失败

juventusryp · October 22, 2012 · Last by ywjno replied at October 23, 2012 · 3712 hits

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?

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

You need to Sign in before reply, if you don't have an account, please Sign up first.