[magick-developers] Problems building Magick++ from 6.3.6-4 on Solaris 10/SPARC

Albert Chin magick-developers at mlists.thewrittenword.com
Thu Nov 1 06:03:16 PDT 2007


$ CC -V
CC: Sun C++ 5.8 Patch 121017-11 2007/05/02

Trying to build Magick++ with the Sun Studio 10 compiler gives the
following error:
  CC -DHAVE_CONFIG_H -I. -I./magick -I./wand  -I. -I. -I./Magick++/lib -I/opt/TWWfsw/libttf23/include/freetype2 -I/opt/TWWfsw/libttf23/include -I/opt/TWWfsw/ghostscript85/include -I/opt/TWWfsw/xpm/include -I/opt/TWWfsw/jpeg/include -I/opt/TWWfsw/liblcms11/include -I/opt/TWWfsw/libtiff38/include -I/opt/TWWfsw/libpng12/include -I/opt/TWWfsw/libz12/include -I/opt/TWWfsw/bzip2/include -I/opt/TWWfsw/libttf23/include -I/opt/TWWfsw/libwmf02/include -I/opt/TWWfsw/libxml26/include -I/usr/openwin/include  -xO2 -xtarget=ultra2 -xarch=v8plusa -D_REENTRANT -c -o Magick++/tests/colorHistogram.o Magick++/tests/colorHistogram.cpp
  "./Magick++/lib/Magick++/STL.h", line 2042: Error: Could not find a match for std::vector<std::pair<Magick::Color, unsigned long> >::insert(std::pair<Magick::Color, unsigned long>*, std::pair<const Magick::Color, unsigned long>) needed in Magick::colorHistogram<std::vector<std::pair<Magick::Color, unsigned long> >>(std::vector<std::pair<Magick::Color, unsigned long> >*, const Magick::Image).
  "Magick++/tests/colorHistogram.cpp", line 52:     Where: While instantiating "Magick::colorHistogram<std::vector<std::pair<Magick::Color, unsigned long> >>(std::vector<std::pair<Magick::Color, unsigned long> >*, const Magick::Image)".
  "Magick++/tests/colorHistogram.cpp", line 52:     Where: Instantiated from non-template code.
  1 Error(s) detected.
  gmake[1]: *** [Magick++/tests/colorHistogram.o] Error 1

Any ideas on how to fix?

-- 
albert chin (china at thewrittenword.com)


More information about the Magick-developers mailing list