Boost logo

Boost Users :

Subject: Re: [Boost-users] [Property map & BGL python] 1.40.0 breaks boost.graph python bindings
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2009-10-12 10:38:08


On Mon, 12 Oct 2009, John Reid wrote:

> John Reid wrote:
>> It doesn't seem like that could be the case. All I do is change the
>> BOOST_ROOT environment variable and rebuild the python bindings. Against
>> 1.40 it won't compile. Against 1.39 it works fine. I'll double check my
>> environment.
>
> So there's definitely some change between 1.39 and 1.40 that breaks the BGL
> python bindings. It is probably to do with the bindings having their own copy
> of boost/vector_property_map.hpp. I guess the bindings code relied on this
> get_store method that was removed, so they kept an old copy of the header in
> their codebase. If I can work out how to fix it, I'll post the solution.

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.

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net