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 09:21:00 -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=M3nKBW+u8yfMaoe0FUJ+EmMMN5QqB9HGWVQcO/a2G5+6FvQF/11A3ggoUREEHhIx8k fMfPUFldD9lC2pz/u4JnqHTm5yPCdK9xvm5RuIV/Jy0uqLyX4X69TcD2CInI+A92Pxuk krJXNVF6hd0cMDFF2Kr3KLn/ip563g/iBx/F0=

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

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

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





Archive powered by MHonArc 2.6.16.

Top of Page