Hi..
I m able to run transitive_closure on my windows machine
but the same program gives me the following error on Linux machine
what can be the reason for this ..
/usr/include/boost/graph/depth_first_search.hpp: In function âvoid
boost::depth_first_search(const VertexListGraph&, const
boost::bgl_named_params
&) [with VertexListGraph =
std::vector, std::allocator > >, P =
boost::topo_sort_visitor > >, T =
boost::graph_visitor_t, R =
boost::bgl_named_params]â:
/usr/include/boost/graph/topological_sort.hpp:64: instantiated from
âvoid boost::topological_sort(VertexListGraph&, OutputIterator, const
boost::bgl_named_params&) [with VertexListGraph =
std::vector, std::allocator > >, OutputIterator =
std::back_insert_iterator >, P = boost::identity_property_map, T
= boost::vertex_index_t, R = boost::no_property]â
/usr/include/boost/graph/transitive_closure.hpp:120: instantiated from
âvoid boost::transitive_closure(const Graph&, GraphTC&, G_to_TC_VertexMap,
VertexIndexMap) [with Graph = boost::adjacency_list,
boost::no_property>, boost::property, boost::no_property, boost::listS>, GraphTC =
boost::adjacency_list, boost::no_property>,
boost::property,
boost::no_property, boost::listS>, G_to_TC_VertexMap =
boost::iterator_property_map,
boost::no_property>, long unsigned int>, long unsigned int, long unsigned
int&>, VertexIndexMap =
boost::vec_adj_list_vertex_id_map,
boost::no_property>, long unsigned int>]â
/usr/include/boost/graph/transitive_closure.hpp:263: instantiated from
âvoid boost::transitive_closure(const Graph&, GraphTC&) [with Graph =
Graph, GraphTC = Graph]â
sample_main.cpp:121: instantiated from here
/usr/include/boost/graph/depth_first_search.hpp:324: error: no matching
function for call to âvertices(const std::vector, std::allocator > >&)â
//Pseudo Code on which it is failing
/...
Graph TC;
transitive_closure(Original_graph, TC);
...//
Kindly help.....
Thanks
Abhishek Vyas
Tata Consultancy Services
Mailto: abhishek.v@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you