Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL::Surface_mesh_simplification compiling errors

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL::Surface_mesh_simplification compiling errors


Chronological Thread 
  • 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




Archive powered by MHonArc 2.6.16.

Top of Page