I'm having problems using Magick++ on Windows

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
graham
Posts: 5
Joined: 2011-04-01T06:34:35-07:00
Authentication code: 8675308

I'm having problems using Magick++ on Windows

Post 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
graham
Posts: 5
Joined: 2011-04-01T06:34:35-07:00
Authentication code: 8675308

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

Post 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.
Post Reply