Advertisement
Guest User

sofa compilation on arch linux wiht cgal

a guest
Nov 8th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 12.90 KB | None | 0 0
  1. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  2. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:47:9: error: implicit
  3.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  4.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  5. typedef Polyhedron_3::Vertex                                      Vertex;
  6.         ^
  7. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  8.   class Polyhedron_3;
  9.         ^
  10. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  11. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:48:9: error: implicit
  12.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  13.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  14. typedef Polyhedron_3::Vertex_iterator             Vertex_iterator;
  15.         ^
  16. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  17.   class Polyhedron_3;
  18.         ^
  19. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  20. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:49:9: error: implicit
  21.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  22.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  23. typedef Polyhedron_3::Vertex_handle                   Vertex_handle;
  24.         ^
  25. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  26.   class Polyhedron_3;
  27.         ^
  28. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  29. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:50:9: error: implicit
  30.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  31.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  32. typedef Polyhedron_3::Facet_iterator              Facet_iterator;
  33.         ^
  34. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  35.   class Polyhedron_3;
  36.         ^
  37. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  38. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:51:9: error: implicit
  39.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  40.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  41. typedef Polyhedron_3::Facet                       Facet;
  42.         ^
  43. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  44.   class Polyhedron_3;
  45.         ^
  46. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  47. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:57:9: error: implicit
  48.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  49.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  50. typedef Polyhedron_3::Halfedge_around_facet_circulator HF_circulator;
  51.         ^
  52. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  53.   class Polyhedron_3;
  54.         ^
  55. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  56. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:115:18: error: implicit
  57.       instantiation of undefined template 'CGAL::Polyhedron_3<CGAL::Convex_hull_traits_3<CGAL::Epick, CGAL::Default,
  58.      CGAL::Boolean_tag<false> >, CGAL::Polyhedron_items_3, HalfedgeDS_default, std::allocator<int> >'
  59.     Polyhedron_3 P;
  60.                  ^
  61. /usr/include/CGAL/Polyhedron_3_fwd.h:41:9: note: template is declared here
  62.   class Polyhedron_3;
  63.         ^
  64. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  65. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:130:34: error: member reference
  66.       type 'cgal::Vertex_iterator' (aka 'int') is not a pointer
  67.         Point_3 pointCgal = vIt->point();
  68.                             ~~~  ^
  69. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:146:32: error: member reference
  70.       type 'cgal::Facet_iterator' (aka 'int') is not a pointer
  71.         HF_circulator h = fIt->facet_begin();
  72.                           ~~~  ^
  73. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:150:29: error: member reference
  74.       type 'cgal::HF_circulator' (aka 'int') is not a pointer
  75.             t[order] = V[h->vertex()];
  76.                          ~  ^
  77. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:154:26: error: member reference
  78.       type 'cgal::Facet_iterator' (aka 'int') is not a pointer
  79.         while( h != fIt->facet_begin()  && order < 3);
  80.                     ~~~  ^
  81. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  82. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  83. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:67:10: warning: 'init' overrides
  84.       a member function but is not marked 'override' [-Winconsistent-missing-override]
  85.     void init();
  86.          ^
  87. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:51:42: note: in instantiation
  88.       of template class 'cgal::TriangularConvexHull3D<sofa::defaulttype::StdVectorTypes<sofa::defaulttype::Vec<3, double>,
  89.      sofa::defaulttype::Vec<3, double>, double> >' requested here
  90. template class SOFA_CGALPLUGIN_API cgal::TriangularConvexHull3D<Vec3dTypes>;
  91.                                          ^
  92. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/BaseObject.h:107:18: note:
  93.       overridden virtual function is here
  94.     virtual void init();
  95.                  ^
  96. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  97. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  98. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:68:10: warning: 'reinit'
  99.       overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  100.     void reinit();
  101.          ^
  102. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/BaseObject.h:113:18: note:
  103.       overridden virtual function is here
  104.     virtual void reinit();
  105.                  ^
  106. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  107. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  108. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:70:10: warning: 'update'
  109.       overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  110.     void update();
  111.          ^
  112. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/DDGNode.h:168:18: note:
  113.       overridden virtual function is here
  114.     virtual void update() = 0;
  115.                  ^
  116. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  117. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  118. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:72:25: warning:
  119.       'getTemplateName' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  120.     virtual std::string getTemplateName() const
  121.                         ^
  122. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/Base.h:193:25: note:
  123.       overridden virtual function is here
  124.     virtual std::string getTemplateName() const;
  125.                         ^
  126. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  127. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  128. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:67:10: warning: 'init' overrides
  129.       a member function but is not marked 'override' [-Winconsistent-missing-override]
  130.     void init();
  131.          ^
  132. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:54:42: note: in instantiation
  133.       of template class 'cgal::TriangularConvexHull3D<sofa::defaulttype::StdVectorTypes<sofa::defaulttype::Vec<3, float>,
  134.      sofa::defaulttype::Vec<3, float>, float> >' requested here
  135. template class SOFA_CGALPLUGIN_API cgal::TriangularConvexHull3D<Vec3fTypes>;
  136.                                          ^
  137. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/BaseObject.h:107:18: note:
  138.       overridden virtual function is here
  139.     virtual void init();
  140.                  ^
  141. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  142. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  143. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:68:10: warning: 'reinit'
  144.       overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  145.     void reinit();
  146.          ^
  147. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/BaseObject.h:113:18: note:
  148.       overridden virtual function is here
  149.     virtual void reinit();
  150.                  ^
  151. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  152. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  153. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:70:10: warning: 'update'
  154.       overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  155.     void update();
  156.          ^
  157. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/DDGNode.h:168:18: note:
  158.       overridden virtual function is here
  159.     virtual void update() = 0;
  160.                  ^
  161. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.cpp:31:
  162. In file included from /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.inl:30:
  163. /home/a/opt/sofa_simulation/sofa/master/src/applications/plugins/CGALPlugin/TriangularConvexHull3D.h:72:25: warning:
  164.       'getTemplateName' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  165.     virtual std::string getTemplateName() const
  166.                         ^
  167. /home/a/opt/sofa_simulation/sofa/master/src/SofaKernel/framework/sofa/core/../../sofa/core/objectmodel/Base.h:193:25: note:
  168.       overridden virtual function is here
  169.     virtual std::string getTemplateName() const;
  170.                         ^
  171. 8 warnings and 11 errors generated.
  172. make[2]: *** [applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/build.make:89: applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/TriangularConvexHull3D.cpp.o] Error 1
  173. make[1]: *** [CMakeFiles/Makefile2:11349: applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/all] Error 2
  174. make: *** [Makefile:163: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement