Boost logo

Boost Users :

From: matthieu.ferrant_at_[hidden]
Date: 2005-12-15 07:18:34



Hi, 
 
I am having trouble using (actually compiling with) the boost graph library. When I add a dijkstra_shortest_paths command (even just as in the example of the quick tour), it spits out the following error at compile time : 



Z:\improc\include\boost\graph\dijkstra_shortest_paths.hpp(136): error C2664: 'bool std::less<_Ty>::operator ()(const _Ty &,const _Ty &) const' : cannot convert parameter 1 from 'const boost::detail::adj_list_any_edge_pmap::bind_<Graph,Property,Tag>::value_type' to 'const D &'
        with
        [
            _Ty=D
        ]
        and
        [
            Graph=Graph,
            Property=boost::detail::edge_property_map<Graph,boost::edge_weight_t>::Property,
            Tag=boost::edge_weight_t
        ]

 
 
Any hints why this is happening? 
 
thanks, 
 
matt- 
ps : I am using MS Visual C++ 2003.

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