19 Oct
2006
19 Oct
'06
11:42 p.m.
Saptarshi Ghosh schrieb:
Dear all,
I am facing a problem with boost::depth_first_search.
I couldn't compile the example http://boost.org/libs/graph/example/dfs-example.cpp after changing line no 42: typedef adjacency_list < listS, vecS, directedS > graph_t; to: typedef adjacency_list < listS, listS, directedS > graph_t;
I need to use < listS, listS, directedS > because of performance issue. I have used gcc 3.2.2 and gcc 4.1.0 without any success.
Any suggestion how to solve the problem ?
listS does not have an automatic vertex index. You need to store a vertex index property in your graph. At least that is how I read the error messages.