Page 1 of 1

I'm having problems using Magick++ on Windows

Posted: 2012-10-05T00:31:49-07:00
by graham
I have been using Magick++ on Linux for some time with any problems. I have recently been asked to write an image processing application for a local firm which has to run on Windows and assumed that Magick++ would be just as easy to use on Windows but I can't get it to work. I have tried with two different versions: ImageMagick-5.5.7-Q8-windows-dll.exe and ImageMagick-6.7.9-9-Q8-windows-dll.exe.

With 5.5.7 using the functions
image.annotate( "Text sample using annotate", NorthGravity );
or
image.draw(DrawableText(50, 50, "Text sample with draw"));

produces an ErrorDelegate exception

With version 6.7.9 the function read("dscf3467.jpg"); function results in an access violation.

The workstation O/S is XP SP3 and I'm using Visual C++ 2003 Version 7.1.6030

Any advice will be much appreciated

Graham Dicker

Re: I'm having problems using Magick++ on Windows

Posted: 2012-10-06T01:18:19-07:00
by graham
I have narrowed it down to the C++ compiler version and the associated libraries. May be something to do with templates and have some suspicions that the wrong amount of data is getting popped off the stack before executing a return.