Boost logo

Boost Users :

Subject: Re: [Boost-users] Default weight map doesn't work for weighted grid graph in A-star search
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-07-06 13:41:16


On Tue, 6 Jul 2010, W.P. McNeill wrote:

> Looking through the error spew again, there are actually two errors.  The first is the one I already showed you.  Then beneath that there's another big error
> stack that winds through various astar_dispatch functions and ends with no matching function call to boost::detail::grid_graph_out_edge_at.
> main.cpp:38:   instantiated from here
> /opt/local/include/boost/iterator/transform_iterator.hpp:100: error: no matching function for call to
> ‘boost::detail::grid_graph_out_edge_at<boost::grid_graph<2ul, size_t, size_t> >::grid_graph_out_edge_at()’
> /opt/local/include/boost/graph/grid_graph.hpp:128: note: candidates are: boost::detail::grid_graph_out_edge_at<Graph>::grid_graph_out_edge_at(typename
> boost::graph_traits<G>::vertex_descriptor, const Graph*) [with Graph = boost::grid_graph<2ul, size_t, size_t>]
> /opt/local/include/boost/graph/grid_graph.hpp:119: note:                 boost::detail::grid_graph_out_edge_at<boost::grid_graph<2ul, size_t, size_t>
> >::grid_graph_out_edge_at(const boost::detail::grid_graph_out_edge_at<boost::grid_graph<2ul, size_t, size_t> >&)
> make: *** [main.o] Error 1
>
> Presumably the same issue.

Yes. This has been fixed in Boost trunk, though, so please try the copy
of grid_graph.hpp from there.

-- 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