Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Error on master branch build
- Date: Tue, 5 Dec 2017 15:57:50 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:5DtQeh0PZlg+ZEZ5smDT+DRfVm0co7zxezQtwd8ZsesRLvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tLw6annrn5jEbHlDzNBF+O//uMo/UlcW+ke6oqLPJZAAdrTyxe757N12YpA/Lt4FCiI1uMKs40V3Hq3FSesxZyGRtKE6Jjhj17du35o8l+CNV7aFyv/VcWLn3KvxrBYdTCy4rZjg4
Can you please post a self contained cpp file
either as an attachment or on https://gist.github.com/
andreas
On 12/5/2017 1:20 PM, Iasonm wrote:
When I build CGAL using the github repository (using the sequence of commands
cd cgal->cmake . ->make -> sudo make install) I get the following error when
trying to use a function from CGAL/Polygon_mesh_processing/measure.h (I am
using area and volume):
/usr/local/include/CGAL/Polygon_mesh_processing/measure.h: In instantiation
of ‘typename CGAL::GetGeomTraits<TriangleMesh,
CGAL::pmp_bgl_named_params<T, Tag, Base> >::type::
FT CGAL::Polygon_mesh_processing::volume(const TriangleMesh&, const
CGAL::pmp_bgl_named_params<T, Tag, Base>&) [with TriangleMesh =
CGAL::Surface_mesh<CGAL::Point_3<CGAL::Si
mple_cartesian<double> > >; T = bool; Tag =
CGAL::internal_np::all_default_t; Base = boost::no_property; typename
CGAL::GetGeomTraits<TriangleMesh, CGAL::pmp_bgl_named_param
s<T, Tag, Base> >::type::FT = double]’:
/usr/local/include/CGAL/Polygon_mesh_processing/measure.h:533:18: required
from ‘typename CGAL::Kernel_traits<typename
CGAL::property_map_value<PolygonMesh, boost::vertex_
point_t>::type>::Kernel::FT CGAL::Polygon_mesh_processing::volume(const
TriangleMesh&) [with TriangleMesh =
CGAL::Surface_mesh<CGAL::Point_3<CGAL::Simple_cartesian<double> >
>; typename CGAL::Kernel_traits<typename
CGAL::property_map_value<PolygonMesh,
boost::vertex_point_t>::type>::Kernel::FT = double]’
../meshcontractor.cpp:50:62: required from here aka
CGAL::Polygon_mesh_processing::volume(m_M);
*/usr/local/include/CGAL/Polygon_mesh_processing/measure.h:522:10: error:
‘exact’ was not declared in this scope
exact(volume);*
I have tried different kernels but that did not help.
Unfortunately Ubuntu's distribution package is pretty old namely 4.7 and
thats why I need the source build.
Any ideas what might causing this?
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [cgal-discuss] Error on master branch build, Iasonm, 12/05/2017
- Re: [cgal-discuss] Error on master branch build, Andreas Fabri, 12/05/2017
- Re: [cgal-discuss] Error on master branch build, Iasonm, 12/08/2017
- Re: [cgal-discuss] Error on master branch build, Andreas Fabri, 12/05/2017
Archive powered by MHonArc 2.6.18.