Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Wilbert
Post
by Wilbert » 2009-10-07T11:19:03-07:00
I get two errors in image.c when compiling ImageMagick 6.5.6-9 under W2K/VB6:
Code: Select all
Magick++ lib DLL export
F:\CompilingPlugins\ImageMagick-6.5.6\Magick++\lib\Image.cpp(3524) : error C2065: 'SpliceImage' : undeclared identifier
F:\CompilingPlugins\ImageMagick-6.5.6\Magick++\lib\Image.cpp(3524) : error C2440: 'initializing' : cannot convert from 'int' to 'struct MagickCore::_Image *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
...
Magick++ lib DLL export
Error executing cl.exe.
All - 2 error(s), 79 warning(s)
It's the first time it fails though. Compiling 6.5.5-10 went fine.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2009-10-07T11:34:31-07:00
Add this to Include.h:
using MagickCore:SpliceImage;
Wilbert
Post
by Wilbert » 2009-10-08T12:29:39-07:00
That solved it. Thank you very much!