|
Boost Users : |
From: Michaela Kedikova (misheto13_at_[hidden])
Date: 2008-02-25 09:39:37
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_at_boost@@YAXABV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@AAV?$subgraph_at_V?$adjacency_list_at_UvecS@boost@@U12_at_UundirectedS@2_at_U?$property_at_W4vertex_attribute_t_at_boost@@V?$map_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12_at_U?$less_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@2_at_V?$allocator_at_U?$pair@$$CBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12@@std@@@2@@std@@Uno_property_at_2@@2_at_U?$property_at_W4edge_attribute_t_at_boost@@V?$map_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12_at_U?$less_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@2_at_V?$allocator_at_U?$pair@$$CBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12@@std@@@2@@std@@U?$property_at_W4edge_index_t_at_boost@@HUno_property_at_2@@2@@2_at_U?$property_at_W4graph_graph_attribute_t_at_boost@@V?$map_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12_at_U?$less_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator@
D_at_2@@std@@@2_at_V?$allocator_at_U?$pair@$$CBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12@@std@@@2@@std@@U?$property_at_W4graph_vertex_attribute_t_at_boost@@V?$map_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12_at_U?$less_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@2_at_V?$allocator_at_U?$pair@$$CBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12@@std@@@2@@std@@U?$property_at_W4graph_edge_attribute_t_at_boost@@V?$map_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12_at_U?$less_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@2_at_V?$allocator_at_U?$pair@$$CBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@V12@@std@@@2@@std@@U?$property_at_W4graph_name_t_at_boost@@V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@Uno_property_at_2@@2@@2@@2@@2_at_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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net