Subject: CGAL users discussion list
List archive
- From: Ramin H <>
- To:
- Subject: Re: [cgal-discuss] including optimize_mesh_3.h produces compile error
- Date: Wed, 2 Jun 2010 21:08:20 -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=uyUCqH+e3i3oZ8//JyhkZ8vf+Cnc8K04/irFs7BrVBterAZLOwEDx7bGyu9e7sHoq3 cbmLzOHrx/P3s1654nqMFVyzQKESmRrMSRkD621oRMX5SOzNqGL7KXtLdmsGbK/Jkafs ghpQNJ8jUkZC0gVihs9hvCf50rwbTdJjXoNr0=
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
On Wed, Jun 2, 2010 at 3:45 AM, Stephane Tayeb <> wrote:
Hi Ramin,Ramin H wrote:
Hi everyone,
I am using VS2008 C++ compiler and CGAL 3.6.
As soon as I add "#include <CGAL/optimize_mesh_3.h>" to my project, I get
the following compile error:
--------
error C2039: 'iterator_category' : is not a member of
'CGAL::Weighted_point<Pt,We>' d:\Program Files\Microsoft Visual Studio
9.0\VC\include\xutility 764
--------
followed by a bunch of other errors that are related to this error.
I can not find any clue to start resolving the issue. Does this error
message give you any idea where I should look for the problem?
Should I include this header before or after a specific include or is there
any other trick involved? Has anyone had this problem before?
Thanks,
-Ramin
Could you please provide a minimal cpp file which reproduces your compilation error ?
Thanks,
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
- [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.