
Hello, I'm new to boost(I'm working with boost_1_34_1) and I have a problem with read_graphviz. I'm working with MSVC 8. I've already built all external libraries using bjam and link them to my project. I also built libbgl-viz.lib, which contains all the source files in libs/graph/src.(As it was suggested in a thread) But I still have a link-error when I try to compile the graphviz.cpp example. I've searched in the mailing-list for solutions of this problem, but I didn't find anything, which helped me. Now I hope that somebody could give me a hint, what the problem may be. (My suggestion is, whether there is a missing object in a library or there are some difficulties between boost1_34_1 and MSVC 8.0). I post the error message below: 1>test_graphviz.obj : error LNK2019: unresolved external symbol "void __cdecl boost::read_graphviz(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class boost::subgraph<class boost::adjacency_list<struct boost::vecS,struct boost::vecS,struct boost::undirectedS,struct boost::property<enum boost::vertex_attribute_t,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >
,struct boost::no_property>,struct boost::property<enum boost::edge_attribute_t,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > ,struct boost::property<enum boost::edge_index_t,int,struct boost::no_property> ,struct boost::property<enum boost::graph_graph_attribute_t,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > ,struct boost::property<enum boost::graph_vertex_attribute_t,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > ,struct boost::property<enum boost::graph_edge_attribute_t,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > ,struct boost::property<enum boost::graph_name_t,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> ,struct boost::no_property> > > >,struct boost::listS> > &)" (?read_graphviz@boost@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$subgraph@V?$adjacency_list@UvecS@boost@@U12@UundirectedS@2@U?$property@W4vertex_attribute_t@boost@@V?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@Uno_property@2@@2@U?$property@W4edge_attribute_t@boost@@V?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@U?$property@W4edge_index_t@boost@@HUno_property@2@@2@@2@U?$property@W4graph_graph_attribute_t@boost@@V?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@ D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@U?$property@W4graph_vertex_attribute_t@boost@@V?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@U?$property@W4graph_edge_attribute_t@boost@@V?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@U?$property@W4graph_name_t@boost@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@Uno_property@2@@2@@2@@2@@2@UlistS@2@@boost@@@1@@Z) referenced in function _main 1>D:\Mihaela\Projects_Cpp\Test_Boost\Debug\Test_graphviz.exe : fatal error LNK1120: 1 unresolved externals
Sorry for my bad english. Thanks in advance, Mishe __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html
participants (1)
-
Michaela Kedikova