Boost logo

Boost-Build :

Subject: [Boost-build] Problems building on Win7
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2015-01-08 10:01:06


Hi,

I am currently working on boost.test. I am encountering an annoying problem on my Win7 machine. Starting from a freshly cloned repository:

- I build bjam
- I build the documentation (using quickbook) : "cd libs/test/doc" then "../../../bjam" etc.

and every works ok. My documentation builds properly, calling the build of quickbook and then running the targets properly.
I can see a lot of junctions under boost/.

The second time, I get into troubles:

- I see errors such as

================
link.hardlink ..\..\..\boost\type_traits\remove_extent.hpp
Hardlink created for ..\..\..\boost\type_traits\remove_extent.hpp <<===>> ..\..\type_traits\include\boost\type_traits\remove_extent.hpp
link.rm ..\..\..\boost\chrono\detail
common.mkdir ..\..\..\boost\chrono\detail
link.rm ..\..\..\boost\chrono\detail
link.hardlink ..\..\..\boost\chrono\detail\static_assert.hpp
The system cannot find the path specified.

    if exist "..\..\..\boost\chrono\detail\static_assert.hpp" del "..\..\..\boost\chrono\detail\static_assert.hpp"
    mklink /H "..\..\..\boost\chrono\detail\static_assert.hpp" "..\..\chrono\include\boost\chrono\detail\static_assert.hpp"

...failed link.hardlink ..\..\..\boost\chrono\detail\static_assert.hpp...
================

- all junctions are removed and replaced by copies
- some headers are missing, for instance in boost/chrono/detail. Running things a third time does not help.

I am obliged to remove the boost/ directory and restart the build of the dependencies.

Is this a known problem? Is it related to my operating system?

Thanks in advance,
Raffi Enficiaud


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk