Subject: CGAL users discussion list
List archive
- From: Stephane Tayeb <>
- To:
- Subject: Re: [cgal-discuss] including optimize_mesh_3.h produces compile error
- Date: Thu, 03 Jun 2010 16:10:30 +0200
Ramin H wrote:
Hi Stéphane,
Would it be possible to have a quick patch for this? It is blocking my
progress in producing some results for my research and the deadline is in a
week.
I really appreciate your help,
-Ramin
Sure,
I'm sorry I thought you resolved this issue.
Here is the patch. Please apply it in include/CGAL/Mesh_3 folder.
Stephane.
On Thu, Jun 3, 2010 at 5:16 AM, Stephane Tayeb <
>
wrote:
Ramin H wrote:
Hi Stéphane,Hi Ramin,
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
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
--
Stephane Tayeb
Software engineer - INRIA Sophia Antipolis
Geometrica Project-Team
Index: Sliver_perturber.h
===================================================================
--- Sliver_perturber.h
+++ Sliver_perturber.h
@@ -40,12 +40,10 @@
#include <CGAL/Mesh_3/vertex_perturbation.h>
#include <CGAL/Mesh_3/C3T3_helpers.h>
#include <CGAL/Mesh_optimization_return_code.h>
-#include <CGAL/Timer.h>
#include <boost/pending/relaxed_heap.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
-#include <boost/ptr_container/ptr_vector.hpp>
CGAL_BEGIN_NAMESPACE
- [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/02/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/02/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/07/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/07/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Ramin H, 06/03/2010
- Re: [cgal-discuss] including optimize_mesh_3.h produces compile error, Stephane Tayeb, 06/02/2010
Archive powered by MHonArc 2.6.16.