Unable to compile graph-tool 2.27 with CGAL 4.13
Hi, I was not able to compile graph-tool (version 2.27) with the new CGAL (v4.13) library. ...CGAL/include/CGAL/Compact_container.h:1267:8: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:76:0, from /opt/dba/common/boost/include/boost/config/no_tr1/memory.hpp:21, from /opt/dba/common/boost/include/boost/get_pointer.hpp:14, from /opt/dba/common/boost/include/boost/python/object/pointer_holder.hpp:11, from /opt/dba/common/boost/include/boost/python/to_python_indirect.hpp:10, from /opt/dba/common/boost/include/boost/python/converter/arg_to_python.hpp:10, from /opt/dba/common/boost/include/boost/python/call.hpp:15, from /opt/dba/common/boost/include/boost/python/object_core.hpp:14, from /opt/dba/common/boost/include/boost/python/object.hpp:9, from ../../../src/graph/graph.hh:23, from graph_triangulation.cc:23: /usr/include/c++/7/bits/stl_function.h:356:20: note: 'const CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<void> >, CGAL::Delaunay_triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<void> > >, CGAL::Sequential_tag> >
' is not derived from 'const CGAL::internal::CC_iterator<DSC, Const1>' { return __x == __y; } ~~~~^~~~~~ Makefile:569: recipe for target 'graph_triangulation.lo' failed make[4]: *** [graph_triangulation.lo] Error 1 make[4]: Leaving directory '/tmp/workspace/graph-tool-2.27/src/graph/generation' Makefile:752: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/workspace/graph-tool-2.27/src/graph' Makefile:422: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/workspace/graph-tool-2.27/src' Makefile:594: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/workspace/graph-tool-2.27' Makefile:481: recipe for target 'all' failed make: *** [all] Error 2
Even with the current version on Gitlab the error exists. Regards Simon
Am 10.12.18 um 07:42 schrieb Simon Schuler:
Hi,
I was not able to compile graph-tool (version 2.27) with the new CGAL (v4.13) library.
...CGAL/include/CGAL/Compact_container.h:1267:8: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:76:0, from /opt/dba/common/boost/include/boost/config/no_tr1/memory.hpp:21, from /opt/dba/common/boost/include/boost/get_pointer.hpp:14, from /opt/dba/common/boost/include/boost/python/object/pointer_holder.hpp:11, from /opt/dba/common/boost/include/boost/python/to_python_indirect.hpp:10, from /opt/dba/common/boost/include/boost/python/converter/arg_to_python.hpp:10, from /opt/dba/common/boost/include/boost/python/call.hpp:15, from /opt/dba/common/boost/include/boost/python/object_core.hpp:14, from /opt/dba/common/boost/include/boost/python/object.hpp:9, from ../../../src/graph/graph.hh:23, from graph_triangulation.cc:23: /usr/include/c++/7/bits/stl_function.h:356:20: note: 'const CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<void> >, CGAL::Delaunay_triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<void> > >, CGAL::Sequential_tag> >
' is not derived from 'const CGAL::internal::CC_iterator<DSC, Const1>' { return __x == __y; } ~~~~^~~~~~ Makefile:569: recipe for target 'graph_triangulation.lo' failed make[4]: *** [graph_triangulation.lo] Error 1 make[4]: Leaving directory '/tmp/workspace/graph-tool-2.27/src/graph/generation' Makefile:752: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/workspace/graph-tool-2.27/src/graph' Makefile:422: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/workspace/graph-tool-2.27/src' Makefile:594: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/workspace/graph-tool-2.27' Makefile:481: recipe for target 'all' failed make: *** [all] Error 2
Even with the current version on Gitlab the error exists. This is strange, as this problem has been already fixed in the git version: https://git.skewed.de/count0/graph-tool/issues/509
Please double check that you used the latest version. -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Simon Schuler -
Tiago de Paula Peixoto