Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-09-04 13:37:20


On Sun, 4 Sep 2005 22:17:48 +1000 (EST), Christopher Kohlhoff wrote
> Hi Roland,
>
> --- Roland Schwarz <roland.schwarz_at_[hidden]> wrote:
> > I am trying to get started by means of the tutorials, but I am
> > not sure if this currently is the best approach. I am following the
> > path the tutorial is outlining as close as possible.
> >
> > E.g. Adding
> > asio::timer t(d, asio::time::now() + 5);
> > Results in
>
>...snip...
>
> There were changes to the
> timer stuff in 0.3.3 such that it is now called deadline_timer and uses
> the Boost.Date_Time classes. The line you added should now look like:
>
> asio::deadline_timer t(d, boost::posix_time::seconds(5));
>
> > BTW.: Wouldn't it be possible to autolink the ws2_32.lib ?
> > If you know whats missing you can resolve this easily, but ....
>
> Sounds like a good idea. I'll include a change to autolink it in 0.3.4.

Don't now if this is what's tripping you up, but with 1.33 you shouldn't need
the date-time library for anything except to_string and serialization
functions. Bottom line is that for asio uses you shouldn't need to build the
date-time library.

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk