Subject: CGAL users discussion list
List archive
- From: Chaman Singh Verma <>
- To: "" <>
- Subject: [cgal-discuss] Compilation error
- Date: Sun, 15 Jan 2017 05:12:21 +0000 (UTC)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:7WDmPRTQKUPAMIT4vMX17lh9gtpsv+yvbD5Q0YIujvd0So/mwa64YxaN2/xhgRfzUJnB7Loc0qyN4vymAjBLusnJ8ChbNscTB1ld0YRetjdjKfDGIHWzFOTtYS0+EZYKf35e1Fb/D3JoHt3jbUbZuHy44G1aMBz+MQ1oOra9QdaK3IyN3P6+s7HafwgAjTy6ZLp2PV3291yQ5YEqht4oIak4zl7Fo2BDZv9N7WJuP1Oa2RjmrI/k95Fq92Fcuukq6tVbeaT8ZaUxC7JCWmccPngx9fHs4DLDRA6G4DMnU2MZklJ2DhLA5VmuVYzv7HKinvt02C6de8bxSOZndy6l6vJASBbtgSFPDD8//2GftMFqiasT9Bm6uUImm6bFaYGSM7x1eaaLLoBSfnZIQssED38JOYi7dYZaVbMM
Hello,
I checkout the fresh CGAL 4.9 and getting the following errors on Ubuntu :
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20: error: expected nested-name-specifier before ‘property_map_value’
typedef typename property_map_value<PolygonMesh,
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20: error: expected ‘;’ at end of member declaration
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:38: error: expected unqualified-id before ‘<’ token
typedef typename property_map_value<PolygonMesh,
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:40: error: ‘Point’ was not declared in this scope
typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:45: error: template argument 1 is invalid
typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
^
In file included from ../include/MeshBoolean.hpp:11:0,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:353:99: error: template argument 1 is invalid
typename CGAL::Kernel_traits< typename property_map_value<PolygonMesh, CGAL::vertex_point_t>::type>::Kernel::Vector_3
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:353:100: error: expected identifier before ‘::’ token
typename CGAL::Kernel_traits< typename property_map_value<PolygonMesh, CGAL::vertex_point_t>::type>::Kernel::Vector_3
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:353:102: error: ‘::Kernel’ has not been declared
typename CGAL::Kernel_traits< typename property_map_value<PolygonMesh, CGAL::vertex_point_t>::type>::Kernel::Vector_3
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:354:1: error: expected initializer before ‘compute_vertex_normal’
compute_vertex_normal(
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:374:100: error: template argument 1 is invalid
typename CGAL::Kernel_traits < typename property_map_value<PolygonMesh, CGAL::vertex_point_t>::type>::Kernel::Vector_3
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:374:101: error: expected identifier before ‘::’ token
typename CGAL::Kernel_traits < typename property_map_value<PolygonMesh, CGAL::vertex_point_t>::type>::Kernel::Vector_3
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:374:103: error: ‘::Kernel’ has not been declared
typename CGAL::Kernel_traits < typename property_map_value<PolygonMesh, CGAL::vertex_point_t>::type>::Kernel::Vector_3
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/compute_normal.h:375:1: error: expected initializer before ‘compute_face_normal’
compute_face_normal(
^
In file included from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/Surface_mesh.h:42:0,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh.h:23,
from ../include/MeshBoolean.hpp:13,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h: In function ‘bool CGAL::write_off(const CGAL::Surface_mesh<Point_3>&, const string&)’:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:347:14: error: invalid use of ‘struct boost::property_map<typename CGAL::Surface_mesh<Point_3>::Vertex_index, typename CGAL::Surface_mesh<Point_3>::Point>’
= mesh.template property_map<typename Mesh::Vertex_index, Point_3>("v:point").first;
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h: In function ‘bool CGAL::read_mesh(CGAL::Surface_mesh<Point_3>&, const string&)’:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:396:64: error: no matching function for call to ‘transform(std::__cxx11::basic_string<char>::iterator, std::__cxx11::basic_string<char>::iterator, std::__cxx11::basic_string<char>::iterator, <unresolved overloaded function type>)’
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
^
In file included from /usr/include/c++/5/algorithm:62:0,
from ../include/MeshEntity.hpp:15,
from ../include/Mesh.hpp:3,
from ../include/MeshBoolean.hpp:3,
from MeshBooleanOp.cpp:2:
/usr/include/c++/5/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/usr/include/c++/5/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
In file included from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/Surface_mesh.h:42:0,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh.h:23,
from ../include/MeshBoolean.hpp:13,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:396:64: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
^
In file included from /usr/include/c++/5/algorithm:62:0,
from ../include/MeshEntity.hpp:15,
from ../include/Mesh.hpp:3,
from ../include/MeshBoolean.hpp:3,
from MeshBooleanOp.cpp:2:
/usr/include/c++/5/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/usr/include/c++/5/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
In file included from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/Surface_mesh.h:42:0,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh.h:23,
from ../include/MeshBoolean.hpp:13,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:396:64: note: candidate expects 5 arguments, 4 provided
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h: In function ‘bool CGAL::write_mesh(const CGAL::Surface_mesh<Point_3>&, const string&)’:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:428:64: error: no matching function for call to ‘transform(std::__cxx11::basic_string<char>::iterator, std::__cxx11::basic_string<char>::iterator, std::__cxx11::basic_string<char>::iterator, <unresolved overloaded function type>)’
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
^
In file included from /usr/include/c++/5/algorithm:62:0,
from ../include/MeshEntity.hpp:15,
from ../include/Mesh.hpp:3,
from ../include/MeshBoolean.hpp:3,
from MeshBooleanOp.cpp:2:
/usr/include/c++/5/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/usr/include/c++/5/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
In file included from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/Surface_mesh.h:42:0,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh.h:23,
from ../include/MeshBoolean.hpp:13,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:428:64: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
^
In file included from /usr/include/c++/5/algorithm:62:0,
from ../include/MeshEntity.hpp:15,
from ../include/Mesh.hpp:3,
from ../include/MeshBoolean.hpp:3,
from MeshBooleanOp.cpp:2:
/usr/include/c++/5/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/usr/include/c++/5/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
In file included from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/Surface_mesh.h:42:0,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh.h:23,
from ../include/MeshBoolean.hpp:13,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/IO.h:428:64: note: candidate expects 5 arguments, 4 provided
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
^
In file included from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/boost/graph/graph_traits_Surface_mesh.h:31:0,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh/Surface_mesh.h:44,
from /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Surface_mesh.h:23,
from ../include/MeshBoolean.hpp:13,
from MeshBooleanOp.cpp:2:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/boost/graph/properties_Surface_mesh.h: In constructor ‘CGAL::SM_edge_weight_pmap<Point>::SM_edge_weight_pmap(const CGAL::Surface_mesh<Point_3>&)’:
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/boost/graph/properties_Surface_mesh.h:48:15: error: invalid use of ‘struct boost::property_map<typename CGAL::Surface_mesh<Point_3>::Vertex_index, typename CGAL::Surface_mesh<Point_3>::Point>’
: pm_(sm. template property_map<
- [cgal-discuss] Compilation error, Chaman Singh Verma, 01/15/2017
- Re: [cgal-discuss] Compilation error, Sebastien Loriot (GeometryFactory), 01/20/2017
- Re: [cgal-discuss] Compilation error, Chaman Singh Verma, 01/20/2017
- Re: [cgal-discuss] Compilation error, Sebastien Loriot (GeometryFactory), 01/20/2017
Archive powered by MHonArc 2.6.18.