Closed jds13 closed 10 years ago
Maybe this will help someone some day.
I got past this by upgrading to Ruby 2.0.0p481 32-bit (current as of this note). Next I installed the 32-bit DevKit. I also installed ImageMagick 6.7.7-8 (though other versions might work) and placed it first in my PATH.
With that,
gem install rmagick --platform=ruby -- --with-opt-dir=c:\Tools\ImageMagick
ran fine and installed rmagick 2.13.2.
I run
and get successful compilations... but then the link step fails with lots of errors like
My guess is that the ImageMagick .lib files aren't compatible with rmagick, or the native build process simply doesn't find the .lib files.
The --with-opt-lib and --with-opt-dir directives don't seem to have any effect - either the directives are ignored, or the libraries aren't in the right format, or don't contain the right export values.
Three days of trying... Identical results with ImageMagick 6778, 6803, and 6895. Ruby 1.9.3p545, gem 2.0.0 (with gem 2.4.1, "make clean" produced "Makefile:165: **\* target pattern contains no `%'. Stop."). DevKit 4.5.2. dumpbin \tools\imagemagick\lib\CORE_RL_magick_.lib /exports | grep GetExceptionInfo produces
Does anyone have any suggestions at all? Thank you very much