Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL build error on Solaris 10 (i386)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL build error on Solaris 10 (i386)


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL build error on Solaris 10 (i386)
  • Date: Fri, 13 Jun 2008 19:10:48 +0200
  • Organization: INRIA

BERTRAND Joël a écrit :
Hello,

I'm trying to build CGAL 3.3.1 on a Solaris 10 i386 system. I have successfully built the same CGAL release on Solaris 10 (sparc) with gcc 4.3.0.

Error I can see in install.log :

/usr/local/gcc-4.2/bin/g++ -O2 -fno-strict-aliasing -frounding-math '-I/opt/routing/src/CGAL-3.3.1/include/CGAL/config/i386_SunOS-5.10_g++-4.2.4' '-I/opt/routing/src/CGAL-3.3.1/include' -I/opt/routing/include/boost-1_35 -DCGAL_USE_F2C -c Geomview_stream.cpp
In file included from /opt/routing/src/CGAL-3.3.1/include/CGAL/IO/Ostream_iterator.h:27,
from /opt/routing/src/CGAL-3.3.1/include/CGAL/IO/Geomview_stream.h:31,
from Geomview_stream.cpp:38:
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:992: erreur: expected identifier before numeric constant
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:992: erreur: expected ~@~~X>~@~Y before numeric constant
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:993: erreur: no default argument for ~@~X<anonymous>~@~Y
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:997: erreur: ~@~XDD~@~Y
was not declared in this scope
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:997: erreur: nombre erron�� d'arguments du patron (4 devrait être 3)
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:993: erreur: provided for ~@~Xtemplate<class I, class TT, int <anonymous> > class CGAL::Circulator_from_iiterator~@~Y
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:1045: erreur: nombre erroné d'arguments du patron (4 devrait être 3)
/opt/routing/src/CGAL-3.3.1/include/CGAL/circulator.h:993: erreur: provided for ~@~Xtemplate<class I, class TT, int <anonymous> > class CGAL::Circulator_from_iiterator~@~Y

On this system, I have installed :
- Sun Studio 12
- GCC 4.2.4
- GCC 4.3.1

With all compilers, I obtain the same error.

Sounds like some header file is defining a macro with the same name
as one of the template arguments used at the line 992 of circulator.h
(SS? DD ?).

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.16.

Top of Page