Subject: CGAL users discussion list
List archive
[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: Iasonm <>
- To:
- Subject: [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 03:25:12 -0700 (MST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:rhs5Bxe04MmJQd3fiaD8AHkblGMj4u6mDksu8pMizoh2WeGdxc28bB7h7PlgxGXEQZ/co6odzbGJ4+a9ASQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQg7QUuucFMtbqSuQtaT3IyL0LW59JTXJglJnzGgeqhaLROsrAyXuNNFr5FlL/MQwwDOpH4AL/1P2WRsKFSetxn578a0upVk9nID6Loa68dcXPCjLOwDRrtCAWF9azg4
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/
- [cgal-discuss] error: ‘exact’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation, Iasonm, 11/15/2017
- 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, Sebastien Loriot (GeometryFactory), 11/15/2017
Archive powered by MHonArc 2.6.18.