Ok, well, i got this working now.
Thanks for your input Roger - it put me back on track!
The things is:
#include
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of RUOFF, LARS (LARS)** CTR ** Sent: Friday, October 08, 2010 8:05 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [Boost.Log] How to link with on MSVC 2008?
Any other ideas? Did anyone manage to link with Boost.Log on a MSCV 2008 project? How did you compile the library?
Regards, Lars
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Igor R Sent: mardi 5 octobre 2010 17:54 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [Boost.Log] How to link with on MSVC 2008?
1>Linking... 1>libboost_log-vc90-mt-gd-1_44.lib(text_file_backend.obj) : error LNK2019: unresolved external symbol "class boost::filesystem2::file_status [...] (Very long error messages containing decorated names. The above is just the start)
Linker path settings should be correct, since the linker correctly finds libboost_log-vc90-mt-gd-1_44.lib. Also the project is using other Boost libraries (Asio, shared-ptr, bind, posix-time, etc) without problems.
Just a guess: Log depends on Boost.Filesystem library, and you haven't compiled it. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Can you compile/link the Boost.Log trivial example? Roger S. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users