Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2023-09-29 14:35:04


AMDG

On 9/28/23 19:59, Peter Dimov via Boost wrote:
>
> C:\teeks99-09\run\boost_root\libs\filesystem\src\platform_config.hpp(74): fatal error C1083: Cannot open include file: 'boost/winapi/config.hpp': No such file or directory
>
> The reason 'boost/winapi/config.hpp' isn't found is because the corresponding
> header symlink in $BOOST_ROOT/boost isn't created, for some reason.
>
> I can reproduce the failure when I delete my boost/ subdirectory, and when I
> recreate it with `b2 headers`, I can un-reproduce it.
>
> b2 is supposed to create these header symlinks as it goes, though; the explicit
> `b2 headers` is generally unnecessary. Something must have changed to throw
> it off, I'm not sure what.
>

When b2 fails to create a symlink it's usually because the header is
only included through a macro, and the #include scanner misses it.
The fact that entire directories are symlinked also masks most
issues. If the directory is getting split because multiple
libraries contain headers in the same directory, then that can
cause new issues to appear.

In Christ,
Steven Watanabe


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