Page 1 of 1

Magick++ Error Missing Delegate (how to fix a missing ..)

Posted: 2009-06-18T02:43:50-07:00
by idokus
I open in my cpp program a png file with CImg<unsigned char> which in turn uses IM to read the png file.

It compile without warnings, but when I run it I get an error message from IM:

Code: Select all

terminate called after throwing an instance of 'Magick::ErrorMissingDelegate'
  what():  ImageMagick: no decode delegate for this image format `./calc' @ magick/constitute.c/ReadImage/526
Aborted
When using `convert` it is possible for me to convert png => bmp and what not.

How can I fix this?

ps. it used to work but I had a system crash and upgraded to the next version of ubuntu :s...
pps. I am using IM 6.4.5 icm. CImg 1.20

Re: Magick++ Error Missing Delegate (how to fix a missing ..)

Posted: 2009-06-18T04:24:46-07:00
by idokus
appearently the kubuntu/ubuntu (9.04) bundlers made an error to fix it, it seems that I have to rebuild Image Magick

http://www.kerrywong.com/2009/05/20/mag ... ate-error/