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: Ramin H <>
  • To:
  • Subject: Re: [cgal-discuss] including optimize_mesh_3.h produces compile error
  • Date: Thu, 3 Jun 2010 10:38:10 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=BNF6n3OMNK/oG8tOXrK2CNCcNcfnwyC8jDe7vUTsxZ6mrXSvS4zqSaut9yojau4r6B Y4/V+HMdE9/osX06fyWtqoKJIBpbC3TH38pmLZybDyvag3AZPCmDQOXGCMCrise6THHk wKpnva/bxDYDok4K/9AlEROotbi/5cmXsLcls=

Thanks Stephane, what I found was a minor issue, not the actual bug. The real bug is still there and I was hoping you could help me resolve it.

Are you able to successfully compile the code I sent you? I am copy/pasting the code here again:
=======================
#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;
}
=======================


I am still getting:
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

On Thu, Jun 3, 2010 at 10:13 AM, Stephane Tayeb <> wrote:
Stephane Tayeb wrote:
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.


Oops, the patch I just sent is wrong. Here is the correct one.
Regards
Stéphane.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss


Index: Sliver_perturber.h
===================================================================
--- Sliver_perturber.h
+++ Sliver_perturber.h
@@ -40,10 +40,12 @@
 #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





Archive powered by MHonArc 2.6.16.

Top of Page