Problem with math.h in CodeBlocks

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dlinaresg
Posts: 4
Joined: 2013-02-20T16:37:00-07:00
Authentication code: 6789

Problem with math.h in CodeBlocks

Post by dlinaresg » 2013-02-20T16:46:03-07:00

Hi. I am trying to begin with Imagemagick on C. Recently I have installed Codeblocks and configure the libs but when try to compile any imagemagick program for C it gives me te next error:

c:\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\math.h 675 error: expected ')' before '(' token

This error doesn't appear when I use the math.h library in other programs. What could be the problem and how fix it?

Post Reply