Created
April 25, 2014 03:26
-
-
Save acgetchell/11276915 to your computer and use it in GitHub Desktop.
Leda errors for Delaunay_d example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ┌─[getchell][Hapkido][±][Delaunay_d ✓][~/CDT-plusplus] | |
| └─▪ make | |
| -- Build type: Release | |
| -- USING CXXFLAGS = ' -O3 -DNDEBUG' | |
| -- USING EXEFLAGS = ' -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib ' | |
| -- Targetting Unix Makefiles | |
| -- Using /usr/bin/c++ compiler. | |
| -- DARWIN_VERSION=13 | |
| -- Mac Leopard detected | |
| -- Requested component: Core | |
| -- Requested component: MPFR | |
| -- Requested component: GMP | |
| -- Configuring done | |
| -- Generating done | |
| -- Build files have been written to: /Users/getchell/CDT-plusplus | |
| [ 50%] Built target cdt | |
| Scanning dependencies of target dSimplex | |
| [100%] Building CXX object CMakeFiles/dSimplex.dir/dSimplex.cpp.o | |
| /Users/getchell/CDT-plusplus/dSimplex.cpp:5:9: error: unknown type name 'leda_integer' | |
| typedef leda_integer RT; | |
| ^ | |
| /Users/getchell/CDT-plusplus/dSimplex.cpp:16:33: error: use of undeclared identifier 'Point_d' | |
| Vertex_handle v1 = T.insert(Point_d(2,11)); | |
| ^ | |
| In file included from /Users/getchell/CDT-plusplus/dSimplex.cpp:1: | |
| In file included from /usr/local/Cellar/cgal/4.4/include/CGAL/Homogeneous_d.h:416: | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Kernel_d/Vector_d.h:85:52: error: call to member function 'operator/' is | |
| ambiguous | |
| Self operator/(const NT& n) const { return Base::operator/(n); } | |
| ~~~~~~^~~~~~~~~ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Convex_hull_d.h:358:34: note: in instantiation of function template | |
| specialization 'CGAL::Vector_d<CGAL::Homogeneous_d<int, CGAL::Linear_algebraHd<int, std::__1::allocator<int> > > | |
| >::operator/<int>' requested here | |
| return to_point(quasi_center_/RT(dcur + 1)); } | |
| ^ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Convex_hull_d.h:1063:5: note: in instantiation of member function | |
| 'CGAL::Convex_hull_d<CGAL::Homogeneous_d<int, CGAL::Linear_algebraHd<int, std::__1::allocator<int> > > >::center' | |
| requested here | |
| center(), ON_NEGATIVE_SIDE)); // skip the first point ! | |
| ^ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Convex_hull_d.h:1113:34: note: in instantiation of member function | |
| 'CGAL::Convex_hull_d<CGAL::Homogeneous_d<int, CGAL::Linear_algebraHd<int, std::__1::allocator<int> > > | |
| >::compute_equation_of_base_facet' requested here | |
| forall_rc_simplices(S,*this) compute_equation_of_base_facet(S); | |
| ^ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Delaunay_d.h:504:18: note: in instantiation of member function | |
| 'CGAL::Convex_hull_d<CGAL::Homogeneous_d<int, CGAL::Linear_algebraHd<int, std::__1::allocator<int> > > >::insert' | |
| requested here | |
| return Base::insert(lift(x)); | |
| ^ | |
| /Users/getchell/CDT-plusplus/dSimplex.cpp:16:26: note: in instantiation of member function | |
| 'CGAL::Delaunay_d<CGAL::Homogeneous_d<int, CGAL::Linear_algebraHd<int, std::__1::allocator<int> > >, | |
| CGAL::Homogeneous_d<int, CGAL::Linear_algebraHd<int, std::__1::allocator<int> > > >::insert' requested here | |
| Vertex_handle v1 = T.insert(Point_d(2,11)); | |
| ^ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Kernel_d/VectorHd.h:272:17: note: candidate function | |
| VectorHd<RT,LA> operator/(int n) const | |
| ^ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Kernel_d/VectorHd.h:275:17: note: candidate function | |
| VectorHd<RT,LA> operator/(const RT& n) const | |
| ^ | |
| /usr/local/Cellar/cgal/4.4/include/CGAL/Kernel_d/VectorHd.h:280:17: note: candidate function | |
| VectorHd<RT,LA> operator/(const Quotient<RT>& r) const | |
| ^ | |
| 3 errors generated. | |
| make[2]: *** [CMakeFiles/dSimplex.dir/dSimplex.cpp.o] Error 1 | |
| make[1]: *** [CMakeFiles/dSimplex.dir/all] Error 2 | |
| make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment