Subject: CGAL users discussion list
List archive
[cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp
Chronological Thread
- From: Michel Audette <>
- To:
- Subject: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp
- Date: Thu, 9 Dec 2010 14:48:35 -0500
Hello,
I would like to play with the code in
examples/Mesh_3/mesh_polyhedral_domain.cpp , but I'm finding that the
build process (on Linux with gcc 4.4.3) complains about the first
line, in a manner related to template instantiation depth. I have
other CGAL-based code that builds fine, so this code has something
that gcc does not like.
In file included from
/usr/local/include/CGAL/Modular_arithmetic/Residue_type.h:27,
from /usr/local/include/CGAL/Residue.h:31,
from /usr/local/include/CGAL/Modular_traits.h:24,
from /usr/local/include/CGAL/int.h:29,
from /usr/local/include/CGAL/number_type_basic.h:78,
from /usr/local/include/CGAL/basic.h:35,
from /usr/local/include/CGAL/Cartesian/Cartesian_base.h:27,
from /usr/local/include/CGAL/Simple_cartesian.h:27,
from
/usr/local/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:27,
from
/home/michel/simProject/SimplexDecimation/Examples/Preprocessing/OffInputCGALTetrahedralization.cxx:1:
/usr/include/boost/operators.hpp:129: error: template instantiation
depth exceeds maximum of 50 (use -ftemplate-depth-NN to increase the
maximum) instantiating ‘struct
boost::equality_comparable2<CGAL::Quotient<CGAL::MP_Float>, double,
boost::detail::empty_base<CGAL::Quotient<CGAL::MP_Float> > >’
/usr/include/boost/operators.hpp:129: instantiated from
‘boost::less_than_comparable2<CGAL::Quotient<CGAL::MP_Float>, double,
boost::equality_comparable2<CGAL::Quotient<CGAL::MP_Float>, double,
boost::detail::empty_base<CGAL::Quotient<CGAL::MP_Float> > > >’
/usr/include/boost/operators.hpp:409: instantiated from
‘boost::totally_ordered2<CGAL::Quotient<CGAL::MP_Float>, double,
boost::detail::empty_base<CGAL::Quotient<CGAL::MP_Float> > >’
...
(a long litany of messages, many related to boost)
Can anyone comment on a workaround?
Btw, I've had answers to 2 questions today so far. This open-source
forum is working extremely well, and I want to congratulate you.
Cheers,
Michel
--
Michel Audette, Ph.D.
R & D Engineer,
Kitware Inc.,
Chapel Hill, N.C.
- [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Michel Audette, 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Laurent Rineau (GeometryFactory), 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Michel Audette, 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Laurent Rineau (GeometryFactory), 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Michel Audette, 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Laurent Rineau (GeometryFactory), 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Michel Audette, 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Laurent Rineau (GeometryFactory), 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Michel Audette, 12/09/2010
- Re: [cgal-discuss] template instantiation depth build error for examples/Mesh_3/mesh_polyhedral_domain.cpp, Laurent Rineau (GeometryFactory), 12/09/2010
Archive powered by MHonArc 2.6.16.