Building synfig on Windows : Problems with Imagemagick


#1

Hi all , I was trying to build gtk3 branch of morevnaproject but i get a warning which says

[code] CCLD wand/libMagickWand-6.Q16.la

*** Warning: This system can not link to static lib archive magick/libMagickCore-6.Q16.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lgomp.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgomp and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libgdi32.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
CXX Magick++/lib/Blob.lo
CXX Magick++/lib/BlobRef.lo
CXX Magick++/lib/CoderInfo.lo
CXX Magick++/lib/Color.lo
CXX Magick++/lib/Drawable.lo
CXX Magick++/lib/Exception.lo
CXX Magick++/lib/Functions.lo
CXX Magick++/lib/Geometry.lo
CXX Magick++/lib/Image.lo
CXX Magick++/lib/ImageRef.lo
CXX Magick++/lib/Montage.lo
CXX Magick++/lib/Options.lo
CXX Magick++/lib/Pixels.lo
CXX Magick++/lib/ResourceLimits.lo
CXX Magick++/lib/STL.lo
CXX Magick++/lib/Thread.lo
CXX Magick++/lib/TypeMetric.lo
CXXLD Magick++/lib/libMagick+±6.Q16.la

*** Warning: This system can not link to static lib archive magick/libMagickCore-6.Q16.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive wand/libMagickWand-6.Q16.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive /cygdrive/c/synfig-build/ImageMagick-6.8.8-10/magick/libMagickCore-6.Q16.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
[/code]
After which i get a lot of undefined references and makefile error which finally stops the script .
I 've tried building Imagemagick 6.8.7-10 and 6.8.8-10 both of which give same errors . I have removed “–disable static” from the config setting and ran the script synfig-mingw-build.sh but I still get the same error . The config has shared enabled .
Please help . Thanks .