Boost logo

Boost Users :

Subject: Re: [Boost-users] Default weight map doesn't work for weighted grid graph in A-star search
From: W.P. McNeill (billmcn_at_[hidden])
Date: 2010-07-09 21:44:54


Is there a separate ticket number for this? I'd like to put these in the
README.

BTW This is starting to come together now. I should have a working maze
search example soon.

On Tue, Jul 6, 2010 at 10:41 AM, Jeremiah Willcock <jewillco_at_[hidden]>wrote:

> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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