Magick++.h for Fedora

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
octopus
Posts: 2
Joined: 2013-11-07T15:51:16-07:00
Authentication code: 6789

Magick++.h for Fedora

Post 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?)
esok
Posts: 2
Joined: 2014-03-05T08:09:18-07:00
Authentication code: 6789

Re: Magick++.h for Fedora

Post by esok »

Hi,

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

yum install ImageMagick-c++-devel
Post Reply