Error when installing rmagick
Added by Ivan Cenov almost 13 years ago
I followed the instructions for installing rmagick, but the process ended with errors:
======================================================================
Sat 15Dec12 17:30:32
This installation of RMagick 2.13.1 is configured for
Ruby 1.9.3 (i386-mingw32) and ImageMagick 6.8.0
======================================================================
make
generating RMagick2-i386-mingw32.def
compiling rmagick.c
In file included from C:\Program Files (x86)\ImageMagick-6.8.0-Q16\include/magick/magick-config.h:25:0,
from C:\Program Files (x86)\ImageMagick-6.8.0-Q16\include/magick/MagickCore.h:29,
from rmagick.h:47,
from rmagick.c:13:
C:\Program Files (x86)\ImageMagick-6.8.0-Q16\include/magick/magick-baseconfig.h:181:14: error: conflicting types for 'ss
ize_t'
d:\apps\devkit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/types.h:118:18: note: previous declaration of
'ssize_t' was here
rmagick.c: In function 'Magick_colors':
rmagick.c:42:5: warning: passing argument 2 of 'GetColorInfoList' from incompatible pointer type
C:\Program Files (x86)\ImageMagick-6.8.0-Q16\include/magick/color.h:75:5: note: expected 'size_t *' but argument is of t
ype 'long unsigned int *'
rmagick.c: In function 'Magick_fonts':
rmagick.c:90:5: warning: passing argument 2 of 'GetTypeInfoList' from incompatible pointer type
C:\Program Files (x86)\ImageMagick-6.8.0-Q16\include/magick/type.h:98:5: note: expected 'size_t *' but argument is of ty
pe 'long unsigned int *'
rmagick.c: In function 'Magick_init_formats':
rmagick.c:178:5: warning: passing argument 2 of 'GetMagickInfoList' from incompatible pointer type
C:\Program Files (x86)\ImageMagick-6.8.0-Q16\include/magick/magick.h:125:5: note: expected 'size_t *' but argument is of
type 'long unsigned int *'
make: *** [rmagick.o] Error 1
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
D:\apps>
Someone encountered such problem?
Replies (3)
RE: Error when installing rmagick
-
Added by Patrick Ludikhuyze almost 13 years ago
Yes we have!
Try getting hold of an older version like ImageMagick-6.8.0-3-Q16-windows-dll.
It seems a bug in the new version; we tried ImageMagick-6.8.0-9-Q16-windows-dll and ImageMagick-6.8.0-10-Q16-windows-dll and they both failed.
Good luck!
Patrick
RE: Error when installing rmagick
-
Added by Ivan Cenov almost 13 years ago
Patrick, thank you very much. I installed it! However, I first tried ImageMagick-6.8.0-3-Q16-windows-x64-dll.exe but it gave me tons of errors. Then ImageMagick-6.8.0-3-Q16-windows-dll.exe succeeded. I am running Windows 7 64-bit.
Ivan
P.S. I downloaded rmagick from http://imagemagick.spd.co.il/binaries/
RE: Error when installing rmagick
-
Added by Patrick Ludikhuyze almost 13 years ago
All the other apps are 32 bit so that's probably why ImageMagick needs to be too ;-)