
On Fri, 3 Feb 2012, Jacob Lidman wrote:
Hi,
I posted a question regarding an error I've received with boost::transitive_closure() to stackoverflow (http://stackoverflow.com/questions/8976812/boosttransitive-closure-and-error...). Since I didn't receive any comments I'm now trying this mailing list.
In short I'm getting an error about a missing function when I'm trying to compute the transitive closure. The code in question is ...
------------- 1: #include <boost/graph/vector_as_graph.hpp> 2: #include <boost/graph/adjacency_list.hpp> 3: #include <boost/graph/transitive_closure.hpp>
10: boost::adjacency_list<boost::setS, boost::vecS, boost::bidirectionalS, boost::property<boost::vertex_name_t, ContainerStruct *> > gTC, g = create_CSgraph(); 11: boost::transitive_closure(g, gTC); -------------
... where "ContainerStruct" is a structure for holding various data and create_CSgraph() is a function for initializing a graph object. The error I'm getting is...
Please see if r76868 in the trunk fixes this problem; you can just download https://svn.boost.org/svn/boost/trunk/boost/graph/vector_as_graph.hpp and put it into your tree. -- Jeremiah Willcock