Hi, I posted part of it in my first message. Here's the complete messages (some are really long) attached as a txt file. Lars -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Torri, Stephen CIV NSWCDD, W15 Sent: vendredi 8 octobre 2010 15:37 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [Boost.Log] How to link with on MSVC 2008?
From: boost-users-bounces@lists.boost.org on behalf of RUOFF, LARS (LARS)** CTR ** Sent: Fri 10/8/2010 9:23 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [Boost.Log] How to link with on MSVC 2008?
Ok, well, i got this working now. Thanks for your input Roger - it put me back on track!
The things is:
#include
BOOST_LOG_TRIVIAL(trace) << "A trace severity message"; (like in the trivial tutorial) gives me the linker errors (but compiles ok).
But with additionally including #include
it will link ok. Anyone know why?
All I can guess, without seeing the errors, is that the Log library will create a file with the name of the process for storing the information. So I can see why it would need the boost filesystem but not sure why linking errors are resolved by including the header. Can you post the linker error? Stephen _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users