我知道已經有一些關於RMagick for Ruby 1.9.x的問題和廣泛的解答,但是我仍然在安裝時遇到問題。安裝RMagick時出現的問題
我正在使用Eclipse的Ruby-Aptana插件,我已經安裝了DevKit。我曾試圖安裝RMagick如下:
我已經下載並使用C從http://www.imagemagick.org/script/binary-releases.php#windows安裝的ImageMagick 6.7.6-5-Q16-Windows的dll.exe:/ImageMagick6.7.6-5-Q16-windows -dll.exe 希望這是一個標題?
然後我設置環境變量,但我不知道該怎麼做。我試過在Windows控制面板 - >系統 - >高級設置 - >環境變量 - >系統變量。在那裏,我設置:
PATH - >值:C:\ Ruby192 \ bin和C:\ ImageMagick的-6.7.6-Q16
CPATH - > C:\ ImageMagick的-6.7.6-Q16 \包括
LIBRARY_PATH - > C:\ ImageMagick的-6.7.6-Q16 \ lib中
我安裝了rmagick創業板:創業板安裝rmagick
不幸的是我仍然得到錯誤:
Temporarily enhancing PATH to include DevKit...
Buidling native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Error installing rmagick:
c:/Ruby192/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h...*** 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.
我是Ruby-Starter,希望在回答我的(也許是愚蠢的)問題時尊重這一點。 謝謝大家的幫助!
深夜聚會。看看這個[回答](http://stackoverflow.com/a/39513938/1903781)關於如何在Windows 10上安裝'rmagik'。 – 2016-09-15 14:47:39