graph-tool 2.2.8 + boost 1.44.0 + gcc 4.5.1 + python 2.6.6 compilation error
Howdie, folks. I'm building an Exherbo exheres for graph-tool, but have run into a critical block during compilation. Specifically, compiling "graph_io.cc" fails with the following template error:
graph_io.cc: In member function 'boost::python::tuple graph_tool::GraphInterface::ReadFromFile(std::string, boost::python::api::object, std::string)':^Mgraph_io.cc:534:69: error: no matching function for call to 'find_property_map(boost::shared_ptr<boost::dynamic_property_map>&, graph_tool::GraphInterface::vertex_index_map_t&)'
graph_io.cc:537:67: error: no matching function for call to 'find_property_map(boost::shared_ptr<boost::dynamic_property_map>&, graph_tool::GraphInterface::edge_index_map_t&)'
graph_io.cc:540:69: error: no matching function for call to 'find_property_map(boost::shared_ptr<boost::dynamic_property_map>&, graph_tool::GraphInterface::graph_index_map_t&)'
graph_io.cc: In member function 'void graph_tool::GraphInterface::WriteToFile(std::string, boost::python::api::object, std::string, boost::python::list)':
graph_io.cc:664:59: error: no matching function for call to 'boost::dynamic_properties::insert(boost::python::extract<std::basic_string<char> >, std::auto_ptr<boost::dynamic_property_map>)'
/usr/include/boost/property_map/dynamic_property_map.hpp:268:3: note: candidate is: void boost::dynamic_properties::insert(const std::string&, boost::shared_ptr<boost::dynamic_property_map>)
Log file attached.
I'm going to give 4.4.5 a try next, but expect similar results. The culprit appears to be some subtle template interaction between boost and python.
I'm attempting to incorporate graph-tool into my Master's Thesis. So, any progress you can make on this blocker would be terrifically appreciated!
Have a warm week and take care.
Humbly yours, leycec