Hi, I am just starting with CodeBlocks (trying to work with Magickwand), but when I try to compile It gaves me this error:
c:\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\math.h|675|error: expected ')' before '(' token
The program is this:
#include <windows.h>
#include <wand/magick_wand.h>
int main(void)
{
MagickWand *mw = NULL;
MagickWandGenesis();
/* Create a wand */
mw = NewMagickWand();
/* Read the input image */
MagickReadImage(mw,"c:\\temp\\Laura4.jpg");
/* write it */
MagickWriteImage(mw,"logo.jpg");
If(mw) mw = DestroyMagickWand(mw);
MagickWandTerminus();
}
Is there any problem with the math.h library or do I have to configure the CodeBlocks?
Thanks