Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] including optimize_mesh_3.h produces compile error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] including optimize_mesh_3.h produces compile error


Chronological Thread 
  • From: Stephane Tayeb <>
  • To:
  • Subject: Re: [cgal-discuss] including optimize_mesh_3.h produces compile error
  • Date: Thu, 03 Jun 2010 11:16:56 +0200

Ramin H wrote:
Hi Stéphane,
It took a while to track down the problem. Please try the following and see
if you can reproduce the bug:

=======================
#include <CGAL/Mesh_3/global_parameters.h>
#include <CGAL/optimize_mesh_3.h>

int main( int argc, char *argv[] )
{
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Point_3<K> Point_3;
const Point_3 p, q, r, s;
const Point_3& volume_center = CGAL::centroid(p, q, r, s);
return 0;
}
=======================

1. I found out that:
#include <boost/ptr_container/ptr_vector.hpp>
is missing from
CGAL-3.6\include\CGAL\Mesh_3\Sliver_purturber.h

2. Also, the following error appears:
error C2039: 'iterator_category' : is not a member of 'CGAL::Point_3<R_>'
d:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility 764


Thanks,
-Ramin


Hi Ramin,

Thanks.
This will be fixed in the next bug-fix release (CGAL v3.6.1).

Best regards,
Stéphane.

--
Stephane Tayeb
Software engineer - INRIA Sophia Antipolis
Geometrica Project-Team



Archive powered by MHonArc 2.6.16.

Top of Page