Subject: CGAL users discussion list
List archive
- From: Iasonm <>
- To:
- Subject: [cgal-discuss] Error on master branch build
- Date: Tue, 5 Dec 2017 05:20:27 -0700 (MST)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:6fetFBzafI0Ihe/XCy+O+j09IxM/srCxBDY+r6Qd0uweIJqq85mqBkHD//Il1AaPBtqLra8cw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2UXSJ/Cz3tGZaWk6nbUsmbtjyT4XdhsDy2+Gp8IDIeC1JgiC8aPV8NkaYtwLU4+gfmoxkL+5l0wLVpX9Ffel+ymZhJFbVlBH5sJTjtKV/+jhd7qtyv/VLVr/3Kv9gFbE=
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/
- [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.