
Am 21.02.2010 16:13, schrieb Jeremiah Willcock:
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 do not believe it does for BGL. You will need to add -lboost_graph or the equivalent for VC++ to your link flags, plus possibly a -L option pointing to boost/lib.
I don't know what to try next, since I get similar errors on Ubuntu 9.10 (on Ubuntu boost 1.38 is preinstalled).
Make sure you have -lboost_graph -Lboost/lib on your linker command line. That should fix the issue.
Thanks! Now it works.
In Visual Studio I added libboost_graph-vc90-mt.lib under configuration
properties -> Linker -> command line -> additional options
and also added #include
-- Jeremiah Willcock _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users