Page 1 of 1

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

Posted: 2014-06-22T04:03:17-07:00
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 \

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

Posted: 2014-06-22T06:50:16-07:00
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?

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

Posted: 2014-06-23T06:54:52-07:00
by TrueRoad
Your patch also works fine in my environment.
Thank you.