
10 Jul
2008
10 Jul
'08
4 a.m.
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.