Boost logo

Boost-Build :

Subject: Re: [Boost-build] date_time problems
From: Norbert Wenzel (norbert.wenzel.lists_at_[hidden])
Date: 2011-10-31 16:35:14


On 10/31/2011 07:45 PM, Karsten Ahnert wrote:
> On 10/31/2011 06:11 PM, Steven Watanabe wrote:
>> On 10/29/2011 10:45 AM, Dr. Karsten Ahnert wrote:
>>> I have a project which uses Boost.DateTime. Actually it only uses
>>> header-only features. The whole project is build by a set of Jamfiles.
>>> Under Linux everything is fine. But if I try to build the project on
>>> Windows using the same Jamfiles the linker wants to link against
>>> libboost_date_time-vc100-mt-gd-1_47.lib. What is a proper solution to
>>> this problem?
>>
>> If you don't need the library, use <define>BOOST_DATE_TIME_NO_LIB
>
> Thanks, it works. Can this somewhere be found in the documentation? If
> not, I would suggest to include this in the date_time or boost.build
> documentation.

I've explicitly searched for the define and only found it on a general
documentation page[0].

Norbert

[0] http://www.boost.org/doc/libs/1_47_0/libs/config/doc/html/index.html


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk