Page 1 of 1

MagickNet Compile problem 'GrayPadQuantum'

Posted: 2008-02-18T10:20:39-07:00
by JHam
I am trying to compile MagickNet. I have already unzipped and successfully built the ImageMagic source.

In MagickTypes.h file it references GrayPadQuantum. I assume this is expected in the 'quantum.h' file in the main ImageMagic source but I cannot find it anywhere and the MagickNet solution does not compile as a result.

Anyone run into this?

Re: MagickNet Compile problem 'GrayPadQuantum'

Posted: 2008-02-18T10:37:16-07:00
by magick
Until we can investigate, add

#define GrayPadQuantum GrayQuantum

to your source module. The "quantum" interface is a low-level private interface that is subject to change.

Re: MagickNet Compile problem 'GrayPadQuantum'

Posted: 2008-02-19T02:41:15-07:00
by JHam
Yes thanks. What I did initially was just to comment it out.... then I ran into a lot more compile errors..... :?
I will post again with specifics when I have time to look into it in more detail.