Ver. 6.8.9-3 can't be built in mingw environment.

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
TrueRoad
Posts: 2
Joined: 2014-06-22T03:53:22-07:00
Authentication code: 6789

Ver. 6.8.9-3 can't be built in mingw environment.

Post by TrueRoad »

I use MinGW-w64 environment.
It can't build ImageMagick-6.8.9-3.
Then I try this patch. So, I can build it.

--- wand/Makefile.am~ 2014-05-19 09:44:43 +0900
+++ wand/Makefile.am 2014-06-22 18:31:19 +0900
@@ -17,7 +17,7 @@

wandincdir = $(INCLUDE_PATH)/wand

-WAND_CPPFLAGS = $(AM_CPPFLAGS)
+WAND_CPPFLAGS = $(AM_CPPFLAGS) $(LIBRARY_EXTRA_CPPFLAGS)

WAND_SOURCES = \
wand/MagickWand.h \
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Ver. 6.8.9-3 can't be built in mingw environment.

Post by magick »

Try this patch instead:
  • -wand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_CPPFLAGS = $(WAND_CPPFLAGS)
    +wand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_CPPFLAGS = $(WAND_CPPFLAGS) $(LIBRARY_EXTRA_CPPFLAGS)
does that work for you?
TrueRoad
Posts: 2
Joined: 2014-06-22T03:53:22-07:00
Authentication code: 6789

Re: Ver. 6.8.9-3 can't be built in mingw environment.

Post by TrueRoad »

Your patch also works fine in my environment.
Thank you.
Post Reply