
30 Apr
2013
30 Apr
'13
8:36 p.m.
Hello, I try to use graphviz. But when I add "#include <boost/graph/graphviz.hpp>" to the example "http://www.boost.org/doc/libs/1_53_0/libs/graph/example/dijkstra-example.cpp", I get a compilation error. I use boost 1.53 and vs2012 express with command line option "/link libboost_graph-vc110-s-1_53.lib libboost_regex-vc110-s-1_53.lib". The error is about the deducation of template parameter of EdgeIndex boost::detail::get(const boost::detail::csr_edge_index_map<Vertex,EdgeIndex> &,const boost::detail::csr_edge_descriptor<Vertex,EdgeIndex> &) in "boost/graph/dijkstra_shortest_paths.hpp(140)". Thank you! Regards, YaoYuan