Page 1 of 1

Magick++.h for Fedora

Posted: 2013-12-05T23:28:25-07:00
by octopus
Ive written code on debian using Magick++.h which I got via: `apt-get install libmagick++-dev`
Now I am trying to get that same program to compile and link on a Fedora system, but I cannot find Magick++.h
I've tried `yum install ImageMagick ImageMagick-devel ImageMagick-c++` but out of all the headers I do have not one of them is Magick++.h
The page at http://www.imagemagick.org/Magick++/Image.html says I am supposed to use Magick++.h

What's up with this?

I'm trying to use the Image object in the Magick namespace like so:
Magick::Image image(imgsize,bg);
but I get a compile error: `Magick` does not name a type.

So, which header file am I supposed to be using from this set?
Why is it different than what the documentation says?
I am probably missing the Magick++.h file (or am i?)

Re: Magick++.h for Fedora

Posted: 2014-03-05T08:15:15-07:00
by esok
Hi,

You may have resolved this by now, but you can try:

yum install ImageMagick-c++-devel