Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] CGAL::Surface_mesh_simplification compiling errors
- Date: Mon, 28 Jul 2008 13:21:22 +0200
- Organization: INRIA
Xiaofan Li a écrit :
/usr/include/CGAL/boost_relaxed_heap.hpp: In member function 'size_t boost::boost_relaxed_heap<IndexedType, Compare, ID>::log_base_2(size_t)':
/usr/include/CGAL/boost_relaxed_heap.hpp:115: error: 'CHAR_BIT' was not declared in this scope
make[5]: *** [MolSkinMesh.lo] Error 1
The first warning msg should be a boost one as it is from adjacency_list.hpp:22, while the second compilation error arises from CGAL/boost_relaxed_heap.hpp which indicated a CGAL one but with links to boost, too. However the code compiles & runs well in gcc 4.1.2 with boost 1.34.
Has anybody found a workaround for this problem?
It's a missing header file.
Add #include <climits> somewhere before the macro is used.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- [cgal-discuss] CGAL::Surface_mesh_simplification compiling errors in G++ 4.3, Xiaofan Li, 07/28/2008
- Re: [cgal-discuss] CGAL::Surface_mesh_simplification compiling errors, Sylvain Pion, 07/28/2008
Archive powered by MHonArc 2.6.16.