Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] error: ‘exact’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] error: ‘exact’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] error: ‘exact’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation
  • Date: Wed, 15 Nov 2017 16:14:07 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:bU0E3B0vWu8EZNLFsmDT+DRfVm0co7zxezQtwd8ZseseLvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tLw6annrn5jEbHlDzNBF+O//uMo/UlcW+ke6oqLPJZAAdzgGwa7ppMBS7q031sdMXhpcqaok8zR7EvmFZVe1d2WRyNBPZ10Ln4sCq/Zl/tSFUk/0k/s9EF679evJrHvRjED06PjVtt4XQvh7ZQF7X6w==

Could you show the first error you have (to the on what type exact is called)?

Sebastien.

On 11/15/2017 11:25 AM, Iasonm wrote:
I am getting this error regarding the exact function which is located in:
/usr/local/include/CGAL/Polygon_mesh_processing/measure.h:399

namely:

template<typename FaceRange,
typename TriangleMesh,
typename CGAL_PMP_NP_TEMPLATE_PARAMETERS>
#ifdef DOXYGEN_RUNNING
FT
#else
typename GetGeomTraits<TriangleMesh, CGAL_PMP_NP_CLASS>::type::FT
#endif
area(FaceRange face_range
, const TriangleMesh& tmesh
, const CGAL_PMP_NP_CLASS& np)
{
typedef typename boost::graph_traits<TriangleMesh>::face_descriptor
face_descriptor;
typename GetGeomTraits<TriangleMesh, CGAL_PMP_NP_CLASS>::type::FT result
= 0.;
BOOST_FOREACH(face_descriptor f, face_range)
{
result += face_area(f, tmesh, np);
exact(result); // <==========HERE
}
return result;
}

This comes up when I try to use the skeletonization package and namely the
CGAL::extract_mean_curvature_flow_skeleton function. I successfully ran
Surface_mesh_skeletonization/simple_mcfskel_example.cpp example meaning that
the compiler was able to locate the exact function in the example..
Any ideas whats wrong?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page