我正在尝试为Windows 7×64运行Rails安装ImageMagick,但仍然遇到问题
我有我的rails安装程序附带的Ruby 1.9.3p429
根据DevKit网站的build议,我已经使用了DevKit 4.5,并使用Ruby 1.9.3。我甚至根据DevKit安装站点上的说明testing了安装
我已经尝试安装ImageMagick的多个版本,它的来源。 (ImageMagick-6.6.1-0-Q16-windows-dll.exe)根据ImageMagick提供的build议- “找不到CORE_RL_magick_.dll”,或者如何在Windows上安装RMagick 1.9.2
问题是,我仍然无法得到它的工作。 我试过了
捆绑安装
gem install rmagick –platform = ruby
Leiningen在项目中回报EOFexception
启动时在清单中使用uiAccess = true运行C#WPF应用程序
如何避免序列化浮点数组属性
Python 3.2无法导入urllib2(ImportError:没有名为urllib2的模块)
Windows x64 ABI。 debugging器如何显示传递给函数的参数
每当我这样做,它错误了
exe: cannot find -lCORE_RL_magick_ c:/railsinstaller/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lX11 collect2: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include <winsock2.h> 4: #include <windows.h> 5: int main(int argc,char **argv) 6: { 7: return 0; 8: } /* end */
我也得到错误文本检查Ruby版本> = 1.8.5 …是检查stdint.h … * extconf.rb失败*由于某种原因无法创buildMakefile,可能缺乏必要的库和/或标题。 检查mkmf.log文件以获取更多详细信息。 您可能需要configuration选项。
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler Failed to generate an ror) You have to install development tools first. from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:506:in `try_cpp' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:931:in `block in have_header' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:254:in `open' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:254:in `open' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:280:in `postpone' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:930:in `have_header' from extconf.rb:194:in `<main>'
我还应该提到,我已经看到了帮助网站引用ImageMagick的包含目录和lib目录,但是我已经下载了许多版本的ImageMagick,而且它们都不提供include或lib目录
C#程序不会评估操作并返回错误的答案
Windows:如何获得已打开文件的模式/访问权限?
什么是更新所有者绘制控制的最快方法?
docker-compose运行在windows中不起作用
正如马特所说,我们最终转向了Mini Magick,并且能够使其与之相配合。 RMagick的记忆泄露问题和它没有被保持的事实使Mini Magick更具吸引力。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。