Page 1 of 1

Is MagickCore accessible?

Posted: 2007-05-24T21:42:32-07:00
by Iland
Hello!
Is there MagickCore API available in distributed sources or packages? I've get linkage problems when I tried to compile MagickCore example code from http://www.imagemagick.org/script/magick-core.php...

Re: Is MagickCore accessible?

Posted: 2007-05-25T08:51:00-07:00
by magick
What sort of linkage problems are you getting?

Re: Is MagickCore accessible?

Posted: 2007-05-25T09:56:52-07:00
by Iland
magick wrote:What sort of linkage problems are you getting?
undefined reference to `MagickCoreGenesis'
undefined reference to `MagickCoreTerminus'

Re: Is MagickCore accessible?

Posted: 2007-05-25T10:11:20-07:00
by magick
You have an older version of ImageMagick, try InitializeMagick() and DestroyMagick() instead of MagickCoreGenesis() and MagickCoreTerminus() respectively.

Re: Is MagickCore accessible?

Posted: 2007-05-25T17:10:24-07:00
by Iland
6.3.3 is so old? So... Is any other obsolete and replaced functions described in current documentation?

Re: Is MagickCore accessible?

Posted: 2007-05-25T17:48:21-07:00
by magick
InitializeMagick() and DestroyMagick() are not obsolete, they work as they always have. The web site always reflects the current version of ImageMagick which prefers MagickCoreGenesis() and MagickCoreTerminus().

Re: Is MagickCore accessible?

Posted: 2011-04-19T15:09:32-07:00
by F_S
And how to update to "normal version" of ImageMagick?
(CentOS)
"yum update ImageMagick devel" tells that no updates available. =\

Re: Is MagickCore accessible?

Posted: 2011-04-19T17:38:38-07:00
by anthony
The CentOS (like RHEL) version 5, uses a VERY old version of imagemagick.

You may need to installed a personal version, or create a new RPM from sources.

RPM creation...
http://www.imagemagick.org/Usage/api/#building

Personal Version...
http://www.imagemagick.org/Usage/api/#personal