Compile error with boost 1.72
Hello, I get this error message when I try to compile graph-tool.
- [yes ] Are you running the latest
graph-tool
version? - [yes] Do you observe the problem with the current git version?
- [no ] Are you using Macports or Homebrew? If yes, please submit an issue there instead: https://github.com/Homebrew/brew/issues and https://trac.macports.org/newticket
- [yes ] Did you compile
graph-tool
manually? If yes, did you use the exact same compiler to buildgraph-tool
,boost-python
andPython
?
Is this a problem with cairo or boost? I'm on Manjaro Linux. Seems similar to #389 (closed) but I thought it should work anyway. Thank you in advance
CXX graph_cairo_draw.lo
graph_cairo_draw.cc: In function ‘boost::python::api::object cairo_draw(graph_tool::GraphInterface&, boost::any, boost::any, boost::any, bool, boost::python::dict, boost::python::dict, boost::python::dict, boost::python::dict, double, int64_t, boost::python::api::object)’:
graph_cairo_draw.cc:1868:34: error: ‘CoroGenerator’ was not declared in this scope
1868 | return boost::python::object(CoroGenerator(dispatch));
| ^~~~~~~~~~~~~
In file included from graph_cairo_draw.cc:43:
/usr/lib/python3.8/site-packages/cairo/include/py3cairo.h: At global scope:
/usr/lib/python3.8/site-packages/cairo/include/py3cairo.h:268:1: warning: ‘int import_cairo()’ defined but not used [-Wunused-function]
268 | import_cairo(void)
| ^~~~~~~~~~~~
make[4]: *** [Makefile:582: graph_cairo_draw.lo] Error 1
make[4]: Leaving directory '/home/martin/Downloads/graph-tool-2.29/src/graph/draw'
make[3]: *** [Makefile:809: all-recursive] Error 1
make[3]: Leaving directory '/home/martin/Downloads/graph-tool-2.29/src/graph'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/home/martin/Downloads/graph-tool-2.29/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/home/martin/Downloads/graph-tool-2.29'
make: *** [Makefile:486: all] Error 2\