|
Boost Users : |
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2008-07-10 06:00:01
Dmitry Bufistov <dmitry <at> lsi.upc.edu> writes:
>
> Hi,
> I've attached a simple program with two .cpp files I failed to build on
> Debian 2.6 with boost 1.34.1/1.35.0 and g++ (GCC) 3.4.6 (Debian 3.4.6-5)
> with the following command line:
> ...
> Finally I've found that everything works fine with -O2 optimization, but
> just in case. What is wrong here?
Try linking with libboost_date_time.
P.S.
If you are trying to implement poor man's profiler then getrusage
might be more useful than boost::data_time.
HTH,
Roman Perepelitsa.
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