Jeremiah Willcock wrote:
That explains it then -- use the Boost 1.40 version of
boost/vector_property_map.hpp and copy in the one from the Python
bindings as boost/property_map/vector_property_map.hpp.
Yes, I did try that and it does fix most of the compilation problems.
However I'm still left with the error below. I'm struggling to see
what has changed between 1.39 and 1.40 to cause it.
Here's an excerpt from the long output from gcc:
src/astar_search.cpp:101: instantiated from ‘void
boost::graph::python::astar_search(
const boost::graph::python::basic_graphboost::undirectedS &,
boost::graph_traits<G>::vertex_descriptor, boost::python::api::object,
boost::python::api::object, boost::vector_property_map<
boost::graph_traits<G>::vertex_descriptor,
boost::property_map::const_type>
*, boost::vector_property_map<
float, boost::property_map::const_type> *, boost::vector_property_map::const_type> *
, boost::vector_property_mapboost::undirectedS,
boost::edge_index_t>::const_type> *, boost::vector_property_map<
boost::default_color_type,
boost::property_map::const_type> *)’
src/graphs.hpp:28: instantiated from here
/home/john/Dev/ThirdParty/boost/tmp/boost_1_40_0/boost/property_map/property_map.hpp:324:
error: invalid conversion from ‘void *’ to ‘size_t’
/home/john/Dev/ThirdParty/boost/tmp/boost_1_40_0/boost/property_map/property_map.hpp:324:
error: init. arg 1 of ‘iterator_traits::reference boost
::vector_property_map::operator[](const
boost::property_traitsboost::identity_property_map::key_type &) const’
/home/john/Dev/ThirdParty/boost/tmp/boost_1_40_0/boost/property_map/property_map.hpp:
In function ‘void boost::put(
const boost::put_get_helper > &, boost::graph::python::basic_descriptor<
void *, boost::undirectedS>, const int &)’: