Page 1 of 1

MagickCommandGenesis Problem

Posted: 2011-07-25T17:10:42-07:00
by normman
Hello,
I'm trying to execute a command similar to "convert -threshold 90%" on my Linux box with a C program, compiled using gcc. I'm using the following code:

Code: Select all

#include <wand/MagickWand.h>
...
MagickCommandGenesis(wand->image_info,...)
and getting the error " error: dereferencing pointer to incomplete type".
I take it that using wand->image_info is incorrect in trying to access the ImageInfo* required for the first argument?

Re: MagickCommandGenesis Problem

Posted: 2011-09-21T06:54:53-07:00
by fulvio
Did you ever figure this out?

Re: MagickCommandGenesis Problem

Posted: 2011-09-21T09:12:11-07:00
by el_supremo
Try adding this include:

Code: Select all

#include <wand/magick-wand-private.h>
Pete

Re: MagickCommandGenesis Problem

Posted: 2011-09-22T02:27:27-07:00
by fulvio
Are you able to give me a hand with the following Objective-C code?

http://www.wizards-toolkit.org/discours ... 00d#p76653

Re: MagickCommandGenesis Problem

Posted: 2011-09-22T10:19:31-07:00
by el_supremo
It will probably be a week or two before I can look at it and even then, I've never used Objective C so I can't test anything.

Pete