Subject: CGAL users discussion list
List archive
- From: Noel Warren <>
- To:
- Subject: [cgal-discuss] ruby c extensions and straight skeletons
- Date: Tue, 8 Oct 2013 18:39:31 +0200
I am trying to do something slightly out of the ordinary: I want to compile a Ruby C extension that uses some CGAL algorithms. When I #include<CGAL/create_straight_skeleton_2.h> compilation fails and I get a long backtrace that I will append to the bottom of this email.
The failing sample can be found here. Building ruby c extensions is done by running an extconf script that generates a make file. I have attatched my makefile in case it is of use.
There is obviously something "big" I'm doing wrong but I can't see what it is from the output. Any help will be greatly appreciated.
compiling hello_world.cpp
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:40:58: error: macro "access" requires 2 arguments, but only 1 given
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:50:58: error: macro "access" requires 2 arguments, but only 1 given
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:105:90: error: macro "access" requires 2 arguments, but only 1 given
In file included from C:/CGAL-4.2/include/CGAL/Unique_hash_map.h:31:0,
from C:/CGAL-4.2/include/CGAL/HalfedgeDS_list.h:31,
from C:/CGAL-4.2/include/CGAL/HalfedgeDS_default.h:29,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:24,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Tools/chained_map.h:97:27: error: macro "access" requires 2 arguments, but only 1 given
C:/CGAL-4.2/include/CGAL/Tools/chained_map.h:105:47: error: macro "access" requires 2 arguments, but only 1 given
C:/CGAL-4.2/include/CGAL/Tools/chained_map.h:205:25: error: macro "access" requires 2 arguments, but only 1 given
C:/CGAL-4.2/include/CGAL/Tools/chained_map.h:214:19: error: macro "access" requires 2 arguments, but only 1 given
In file included from C:/CGAL-4.2/include/CGAL/HalfedgeDS_list.h:31:0,
from C:/CGAL-4.2/include/CGAL/HalfedgeDS_default.h:29,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:24,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Unique_hash_map.h:106:50: error: macro "access" requires 2 arguments, but only 1 given
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:40:37: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:42:7: error: expected primary-_expression_ before 'return'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:42:7: error: expected '}' before 'return'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:42:7: error: template declaration of 'typename Impl::reference CGAL::access'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:43:5: error: expected ';' after class definition
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:50:37: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:52:7: error: expected primary-_expression_ before 'return'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:52:7: error: expected '}' before 'return'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:52:7: error: template declaration of 'typename Impl::reference CGAL::access'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:53:5: error: expected ';' after class definition
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:60:37: error: 'Bidirectional_circulator_tag' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:60:37: note: suggested alternative:
In file included from C:/CGAL-4.2/include/CGAL/circulator.h:29:0,
from C:/CGAL-4.2/include/CGAL/Polygon_2.h:38,
from hello_world.cpp:7:
C:/CGAL-4.2/include/CGAL/circulator_bases.h:44:8: note: 'CGAL::Bidirectional_circulator_tag'
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:62:35: error: template argument 3 is invalid
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:69:15: error: 'Bidirectional_circulator_tag' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:80:24: error: 'Nullptr_t' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:87:24: error: 'Nullptr_t' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In member function 'bool Halfedge_circulator_base<HalfedgeHandle, AccessPolicy>::operator==(int) const':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:82:9: warning: NULL used in arithmetic [-Wpointer-arith]
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:115:1: error: expected unqualified-id before 'public'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:119:11: error: 'P' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:120:11: error: 'N' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:122:11: error: 'Refs' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:124:11: error: 'Tag_true' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:125:11: error: 'Tag_true' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:127:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:127:61: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:128:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:128:67: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:129:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:129:63: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:130:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:130:69: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:131:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:131:59: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:132:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:132:65: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:133:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:133:56: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:134:20: error: 'Refs' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:134:52: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:137:37: error: 'Halfedge_circulator_around_vertex_access_policy' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:138:35: error: template argument 2 is invalid
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:139:53: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:142:37: error: 'Halfedge_circulator_around_vertex_access_policy' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:143:35: error: template argument 2 is invalid
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:144:47: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:147:37: error: 'Halfedge_circulator_across_incident_faces_access_policy' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:147:37: note: suggested alternative:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:46:9: note: 'CGAL::Halfedge_circulator_across_incident_faces_access_policy'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:148:35: error: template argument 2 is invalid
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:149:57: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:152:37: error: 'Halfedge_circulator_across_incident_faces_access_policy' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:152:37: note: suggested alternative:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:46:9: note: 'CGAL::Halfedge_circulator_across_incident_faces_access_policy'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:153:35: error: template argument 2 is invalid
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:154:51: error: invalid type in declaration before ';' token
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:156:11: error: 'CGAL_SS_i' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:158:1: error: expected unqualified-id before 'public'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:163:50: error: ISO C++ forbids declaration of 'Straight_skeleton_vertex_base_base_2' with no type [-fpermissive]
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'int Straight_skeleton_vertex_base_base_2(int)':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:165:7: error: only constructors take member initializers
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:166:14: error: 'ORIGIN' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:166:14: note: suggested alternative:
In file included from C:/CGAL-4.2/include/CGAL/basic_classes.h:30:0,
from C:/CGAL-4.2/include/CGAL/Cartesian/Cartesian_base.h:29,
from C:/CGAL-4.2/include/CGAL/Simple_cartesian.h:28,
from C:/CGAL-4.2/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:28,
from hello_world.cpp:6:
C:/CGAL-4.2/include/CGAL/Origin.h:36:33: note: 'CGAL::ORIGIN'
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:168:14: error: 'HasInfiniteTimeBit' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:173:51: error: 'Point_2' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:173:69: error: ISO C++ forbids declaration of 'Straight_skeleton_vertex_base_base_2' with no type [-fpermissive]
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'int Straight_skeleton_vertex_base_base_2(int, const int&)':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:175:7: error: only constructors take member initializers
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:183:51: error: 'Point_2' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:183:70: error: 'FT' has not been declared
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:183:117: error: ISO C++ forbids declaration of 'Straight_skeleton_vertex_base_base_2' with no type [-fpermissive]
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'int Straight_skeleton_vertex_base_base_2(int, const int&, int, bool, bool)':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:185:7: error: only constructors take member initializers
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:188:28: error: 'IsSplitBit' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:188:68: error: 'HasInfiniteTimeBit' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:192:1: error: expected unqualified-id before 'public'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:196:3: error: 'FT' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:198:28: error: non-member function 'bool has_infinite_time()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'bool has_infinite_time()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:198:45: error: 'mFlags' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:198:54: error: 'HasInfiniteTimeBit' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:200:25: error: non-member function 'bool has_null_point()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:202:19: error: non-member function 'bool is_split()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'bool is_split()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:202:36: error: 'mFlags' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:202:45: error: 'IsSplitBit' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:204:44: error: non-member function 'Halfedge_const_handle primary_bisector()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Halfedge_const_handle primary_bisector()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:204:68: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Halfedge_handle primary_bisector()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:206:19: error: redefinition of 'Halfedge_handle primary_bisector()'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:204:25: error: 'Halfedge_const_handle primary_bisector()' previously defined here
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:206:56: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:208:74: error: non-member function 'Halfedge_around_vertex_const_circulator halfedge_around_vertex_begin()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Halfedge_around_vertex_const_circulator halfedge_around_vertex_begin()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:210:61: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Halfedge_around_vertex_circulator halfedge_around_vertex_begin()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:213:37: error: redefinition of 'Halfedge_around_vertex_circulator halfedge_around_vertex_begin()'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:208:43: error: 'Halfedge_around_vertex_const_circulator halfedge_around_vertex_begin()' previously defined here
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:215:55: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:218:82: error: non-member function 'Defining_contour_halfedges_const_circulator defining_contour_halfedges_begin()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Defining_contour_halfedges_const_circulator defining_contour_halfedges_begin()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:220:65: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Defining_contour_halfedges_circulator defining_contour_halfedges_begin()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:223:41: error: redefinition of 'Defining_contour_halfedges_circulator defining_contour_halfedges_begin()'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:218:47: error: 'Defining_contour_halfedges_const_circulator defining_contour_halfedges_begin()' previously defined here
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:225:59: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:229:24: error: non-member function 'std::size_t degree()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'std::size_t degree()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:229:91: error: no matching function for call to 'circulator_size(Halfedge_around_vertex_const_circulator)'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:229:91: note: candidate is:
In file included from C:/CGAL-4.2/include/CGAL/Polygon_2.h:38:0,
from hello_world.cpp:7:
C:/CGAL-4.2/include/CGAL/circulator.h:405:1: note: template<class C> typename C::size_type CGAL::circulator_size(const C&)
C:/CGAL-4.2/include/CGAL/circulator.h:405:1: note: template argument deduction/substitution failed:
C:/CGAL-4.2/include/CGAL/circulator.h: In substitution of 'template<class C> typename C::size_type CGAL::circulator_size(const C&) [with C = int]':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:229:91: required from here
C:/CGAL-4.2/include/CGAL/circulator.h:405:1: error: 'int' is not a class, struct, or union type
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:231:22: error: non-member function 'bool is_skeleton()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'bool is_skeleton()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:231:47: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:232:22: error: non-member function 'bool is_contour()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'bool is_contour()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:232:47: error: 'halfedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:234:9: error: 'Point_2' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Halfedge_handle halfedge()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:236:51: error: 'mHE' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:237:36: error: non-member function 'Halfedge_const_handle halfedge()' cannot have cv-qualifier
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'Halfedge_const_handle halfedge()':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:237:25: error: redefinition of 'Halfedge_const_handle halfedge()'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:236:25: error: 'Halfedge_handle halfedge()' previously defined here
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:237:51: error: 'mHE' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: In function 'void set_halfedge(Halfedge_handle)':
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:239:46: error: 'mHE' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h: At global scope:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:241:3: error: 'Triedge' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:243:35: error: variable or field 'set_event_triedge' declared void
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:243:27: error: 'Triedge' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:243:27: note: suggested alternative:
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:35:0,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_2/Straight_skeleton_aux.h:56:7: note: 'CGAL::CGAL_SS_i::Triedge'
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:246:1: error: expected unqualified-id before 'public'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:249:42: error: variable or field 'reset_point__internal__' declared void
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:249:34: error: 'Point_2' was not declared in this scope
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:249:34: note: suggested alternative:
In file included from C:/CGAL-4.2/include/CGAL/user_classes.h:29:0,
from C:/CGAL-4.2/include/CGAL/Kernel/global_functions_2.h:33,
from C:/CGAL-4.2/include/CGAL/Kernel/global_functions.h:31,
from C:/CGAL-4.2/include/CGAL/Cartesian/Cartesian_base.h:30,
from C:/CGAL-4.2/include/CGAL/Simple_cartesian.h:28,
from C:/CGAL-4.2/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:28,
from hello_world.cpp:6:
C:/CGAL-4.2/include/CGAL/Point_2.h:39:7: note: 'CGAL::Point_2'
In file included from C:/CGAL-4.2/include/CGAL/Straight_skeleton_items_2.h:22:0,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_2.h:23,
from C:/CGAL-4.2/include/CGAL/Straight_skeleton_builder_2.h:37,
from C:/CGAL-4.2/include/CGAL/create_straight_skeleton_2.h:23,
from hello_world.cpp:8:
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:251:1: error: expected unqualified-id before 'private'
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:255:3: error: 'Triedge' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:256:3: error: 'Point_2' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:257:3: error: 'FT' does not name a type
C:/CGAL-4.2/include/CGAL/Straight_skeleton_vertex_base_2.h:259:1: error: expected declaration before '}' token
make: *** [hello_world.o] Error 1
[Finished in 7.9s with exit code 2]
Attachment:
Makefile
Description: Binary data
- [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Marc Glisse, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Sebastien Loriot (GeometryFactory), 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Marc Glisse, 10/08/2013
Archive powered by MHonArc 2.6.18.