Boost logo

Boost-Build :

Subject: [Boost-build] missing symbolic link during build
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-01-23 15:49:45


I'm running into a build failure that I'm not fully understand, so let
me describe what I ended up in this situation:

I'm working on a Linux machine, using a full (modular) boost repo. I
have started a Windows VM and mounted the directory containing the repo

When I'm running b2 on Windows, I eventually get the error

  .\boost/preprocessor/iteration/detail/iter/forward1.hpp(47): fatal
error C1083: Cannot open include file:
'boost/utility/detail/result_of_iterate.hpp': No such file or directory

I see that everything inside boost/utility/ is a symbolic link to
libs/utility/include/... However, the 'boost/utility/detail/' directory
is missing there, leading to the above error.

Any idea how that could happen ? Speculating: is it possible that on
Linux that link isn't needed, so is left out (after all, I'm able to
build on Linux without errors), but on Windows the link is needed, but
b2 discovered that (some) links already existed, and thus skipped that
build step ?

How can I clean up my (source) tree, i.e. remove the links, so that
running b2 would be forced to regenerate them ?

And, to step back a step: why are these links generated to begin with ?
Can't they be avoided by adding a bunch of include paths ? (I'd argue
that using explicit include paths is better as it helps the
modularization effort.)


      ...ich hab' noch einen Koffer in Berlin...

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at