|
Boost Users : |
Subject: Re: [Boost-users] [Chrono][System]:header only Boost.Chrono is not working with header only Boost.System
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-07-06 12:18:13
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.users_guide.getting_started.install.building_an_executable_that_uses_boost_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
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