|
Boost Users : |
Subject: Re: [Boost-users] date-time class
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2012-03-21 18:31:38
On 03/21/2012 08:31 PM, Dr. Bruce Elenbogen wrote:
> When I try to use the date time class in Visual Studio 10, I get the
> following error
> LINK : fatal error LNK1104: cannot open file
> 'libboost_date_time-vc100-mt-gd-1_48.lib'
> Is there anything I can do to fix this?
Mostly, you can use the header only parts of the library. Therefore, you
have to define
<define>BOOST_DATE_TIME_NO_LIB
in the requirements in your Jamfile. This prevents the auto-linking of
the date_time library. I think this is also possible with an appropriate
preprocessor statement, but I do not know exactly how this works.
Otherwise, you have to build the library and link against it.
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