I hope this isn't better suited for the devel list, but I'm not an Inkscape developer.
Trying to build Inkscape 0.92.2 and it seems to not like ImageMagick 7.0.7 patch 4 (the current)
The build error:
make[2]: *** [src/CMakeFiles/inkscape_base.dir/extension/internal/bitmap/channel.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/inkscape-0.92.2/src/extension/internal/bitmap/crop.cpp: In member function 'virtual void Inkscape::Extension::Internal::Bitmap::Crop::applyEffect(Magick::Image*)': /builddir/build/BUILD/inkscape-0.92.2/src/extension/internal/bitmap/crop.cpp:27:78: error: no matching function for call to 'Magick::Geometry::Geometry(int&, int&, int&, int&, bool, bool)' image->crop(Magick::Geometry(width, height, _left, _top, false, false));
^ /builddir/build/BUILD/inkscape-0.92.2/src/extension/internal/bitmap/crop.cpp:27:78: note: candidates are: In file included from /usr/include/ImageMagick-7/Magick++/Drawable.h:28:0, from /usr/include/ImageMagick-7/Magick++/Image.h:17, from /usr/include/ImageMagick-7/Magick++.h:12, from /builddir/build/BUILD/inkscape-0.92.2/src/extension/internal/bitmap/crop.cpp:15: /usr/include/ImageMagick-7/Magick++/Geometry.h:119:5: note: Magick::Geometry::Geometry(const RectangleInfo&) Geometry(const MagickCore::RectangleInfo &rectangle_); ^ /usr/include/ImageMagick-7/Magick++/Geometry.h:119:5: note: candidate expects 1 argument, 6 provided /usr/include/ImageMagick-7/Magick++/Geometry.h:52:5: note: Magick::Geometry::Geometry(size_t, size_t, ssize_t, ssize_t) Geometry(size_t width_,size_t height_,::ssize_t xOff_=0, ^ /usr/include/ImageMagick-7/Magick++/Geometry.h:52:5: note: candidate expects 4 arguments, 6 provided /usr/include/ImageMagick-7/Magick++/Geometry.h:49:5: note: Magick::Geometry::Geometry(const string&) Geometry(const std::string &geometry_); ^ /usr/include/ImageMagick-7/Magick++/Geometry.h:49:5: note: candidate expects 1 argument, 6 provided /usr/include/ImageMagick-7/Magick++/Geometry.h:46:5: note: Magick::Geometry::Geometry(const Magick::Geometry&) Geometry(const Geometry &geometry_); ^ /usr/include/ImageMagick-7/Magick++/Geometry.h:46:5: note: candidate expects 1 argument, 6 provided /usr/include/ImageMagick-7/Magick++/Geometry.h:43:5: note: Magick::Geometry::Geometry(const char*) Geometry(const char *geometry_); ^ /usr/include/ImageMagick-7/Magick++/Geometry.h:43:5: note: candidate expects 1 argument, 6 provided /usr/include/ImageMagick-7/Magick++/Geometry.h:40:5: note: Magick::Geometry::Geometry() Geometry(); ^ /usr/include/ImageMagick-7/Magick++/Geometry.h:40:5: note: candidate expects 0 arguments, 6 provided make[2]: *** [src/CMakeFiles/inkscape_base.dir/extension/internal/bitmap/crop.cpp.o] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/inkscape-0.92.2' make[1]: *** [src/CMakeFiles/inkscape_base.dir/all] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/inkscape-0.92.2' make: *** [all] Error 2
Any ideas?
On 09/26/2017 12:50 AM, Marc Jeanmougin wrote:
Any ideas?
ImageMagick 7 https://bugs.launchpad.net/inkscape/+bug/1675962
Thank you, I can confirm the patch there works.
participants (2)
-
Alice Wonder
-
Marc Jeanmougin