Hello,
My aim is to parse the graphviz-dot format with boost.
The two examples from the getting-started web page build fine (in Ubuntu
9.10 and also Windows 7)
Building graph-thingie.cpp in VC9.0 with boost 1.42 gives this error:
example.obj : error LNK2001: unresolved external symbol "bool __cdecl
boost::detail::graph::read_graphviz(class std::basic_string const &,class
boost::detail::graph::mutate_graph *)"
(?read_graphviz@graph@detail@boost@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVmutate_graph@123@@Z)
1>C:\Users\till\Documents\Visual Studio
2008\Projects\example\Release\example.exe : fatal error LNK1120: 1
unresolved externals
The next thing I tried was building the "boost_graph" library separately
by executing bjam in libs/graph/build
which generated C:\Program Files
(x86)\boost\boost_1_42\bin.v2\libs\graph\build\msvc-9.0\debug\libboost_graph-vc90-mt-1_42.lib
and also a .lib in the release folder.
The two new libs seem to be same as in boost/lib/ because they have the
same size.
So the question is:
Do I really have to build "boost_graph" library separately to use the
GraphViz readers,
like it says on
http://www.boost.org/doc/libs/1_42_0/libs/graph/doc/read_graphviz.html?
I tried several compiler options and have all 8 variations of
libboost_graph-vc90 ... .lib in /boost/lib,
but no idea how the compiler magically choses the right one.
I don't know what to try next, since I get similar errors on Ubuntu 9.10
(on Ubuntu boost 1.38 is preinstalled).