Boost Graph Library mysterious compile errors
I'm getting some mysterious compile errors relating to boost::detail::error_property_not_found. Truely massive errors, well too large to get any useful information out of.....ah, templates.
I eventually figured out that these sorts of errors are usually related to BGL algorithm calls which can't find the properties they need. (Wow, thanks for pointing me right at the source, template error...) Well, the only algorithms I'm calling right now are connected_component and kruskal_minimum_spanning_tree.
One such instance occurs with a particular connected_component call:
typedef boost::adjacency_list<
boost::listS, boost::vecS, boost::undirectedS,
RegionProperties, EdgeProperties> Graph;
template <typename Graph>
struct edge_on
{
edge_on(): m_G(NULL) { }
edge_on(const Graph &G) : m_G(&G) { }
template <typename Edge>
bool operator()(const Edge& e) const
{
return (*m_G)[e].on;
}
const Graph *m_G;
};
...
//function arg
....(Graph &G,...
filtered_graph
participants (1)
-
Lindley M French