Boost logo

Boost-Build :

Subject: Re: [Boost-build] date_time problems
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2011-10-31 14:45:36


On 10/31/2011 06:11 PM, Steven Watanabe wrote:
> AMDG
>
> On 10/29/2011 10:45 AM, Dr. Karsten Ahnert wrote:
>> Hi,
>>
>> 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.

>
>> To solve this issue, I tried to include the binaries of date_time,
>> without success. What is the typical way to include date_time. I tried
>> <library>/boost/date_time//boost_data_time which does not work. I think
>> I only need to specify the directory of the binaries which are located
>> in $(BOOST_ROOT)/stage/lib but I even don't know how I introduce this
>> directory into the Jamfiles.
>>
>
> In Christ,
> Steven Watanabe
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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