Boost logo

Boost-Build :

Subject: Re: [Boost-build] date_time problems
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-10-31 13:11:48


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

> 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


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