Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-08-24 10:36:34


Andreas Weis wrote:
> Hi everyone,
>
> It's my understanding that Cobalt is *not* a header-only library, yet it seems
> that it is not built as part of the b2 build.
>
> I'm building Boost with b2 on Windows (MSVC 2022, version 19.41) and it
> seems that Cobalt is not being built properly. I am using the following
> command line:
>
> b2 --toolset=msvc-14.3 --build-type=complete architecture=x86
> address-model=64 --stagedir=stage -j 8
>
> As far as I can tell, this works correctly for all libraries except Cobalt. While b2
> does list cobalt as part of the "Component configuration" listing in the output:
>
> - atomic : building
> - charconv : building
> - chrono : building
> - cobalt : building
> [...]
>
>
> But I get neither binaries nor a folder cmake/boost_cobalt* with this.

Cobalt is a C++20 library, so you'd need to add `cxxstd=20` to your command line.


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