Make Error (coders/emf.c)

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
afre
Posts: 57
Joined: 2014-01-22T15:02:53-07:00
Authentication code: 6789

Make Error (coders/emf.c)

Post by afre »

Hello All, I have been following snibgo's instructions in building IM with Cygwin. bash is getting a little annoyed at the moment:

Code: Select all

coders/emf.c: In function 'ReadEMFImage':
coders/emf.c:510:3: error: 'status' undeclared (first use in this function)
   status=SetImageExtent(image,image->columns,image->rows);
   ^
coders/emf.c:510:3: note: each undeclared identifier is reported only once for each function it appears in
Makefile:7594: recipe for target 'coders/coders_emf_la-emf.lo' failed
make[1]: *** [coders/coders_emf_la-emf.lo] Error 1
make[1]: Leaving directory '/home/Alan/ImageMagick-6.9.0-4'
Makefile:5151: recipe for target 'all' failed
make: *** [all] Error 2
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Error (coders/emf.c)

Post by magick »

We added a patch to the ImageMagick Subversion trunk. In the mean-time, add

Code: Select all

  MagickBooleanType
    status;
Near the beginning of the method.
afre
Posts: 57
Joined: 2014-01-22T15:02:53-07:00
Authentication code: 6789

Re: Make Error (coders/emf.c)

Post by afre »

BTW, most of your changelog entries still use 2014. :wink:
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
Post Reply