6 Jul
2012
6 Jul
'12
4:18 p.m.
Le 06/07/12 09:51, Dmitriy Matison a écrit :
Hi Vicente:
Thanks for the fast response. Then there is a bug in documentation: http://www.boost.org/doc/libs/1_50_0/doc/html/chrono/users_guide.html
Building an Executable that Uses Boost.Chrono http://www.boost.org/doc/libs/1_50_0/doc/html/chrono/users_guide.html#chrono...
In addition to link with the *Boost.Chrono* library you need also to link with the *Boost.System* library. Once *Boost.System* will be configurable to be a header only using |BOOST_SYSTEM_INLINED| you will no need to link with it.
Thanks, Dmitriy.
If you dont need the interfaces using error_code, could you try defining BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING? Best, Vicente