Re: Problems building Magick++ from 6.3.6-4 on Solaris 10/SPARC

Albert Chin <[email protected]>
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
On Thu, Nov 01, 2007 at 08:30:17AM -0700, [email protected] wrote:
> > build Magick++ with the Sun Studio 10 compiler gives the following error:
> 
> Fixed in ImageMagick 6.3.5-5 scheduled for release later today.  Thanks.

I tried 6.3.5-5 but the problem persists:
  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

-- 
albert chin ([email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.