$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [git] boost/config/user.hpp not found when building
From: Fredrik Orderud (forderud_at_[hidden])
Date: 2013-12-15 10:58:15
On Sun, Dec 15, 2013 at 4:22 PM, Jürgen Hunold <jhunold_at_gmx.eu> wrote:
> On Sunday, 15. December 2013 16:06:04 Fredrik Orderud wrote:
> > There seem to be a problem with copying of submodule headers when
> building
> > boost from git on Windows. I get a _lot_ of "error C1083: Cannot open
> > include file: 'boost/config/user.hpp': No such file or directory" when
> > attempting to build Boost with VS2012. Manual copying of user.hpp (as
> well
> > as other "missing" headers) does solve the problem, but this should not
> be
> > necessary.
>
> Right. This is handled by b2, though not automagically right now.
>
> > Steps to reproduce:
> > 1: Create a clean Boost git working-copy with all submodules.
> > 2: bootstrap.bat
>
> You are missing
>
> 2a: b2 headers
>
> > 3: b2 link=shared runtime-link=shared variant=debug toolset=msvc-11.0
> >
> > Any ideas for how to avoid this problem?
>
> See the documentation at
>
> https://svn.boost.org/trac/boost/wiki/TryModBoost
>
> for furhter details.
>
Thanks a lot Jürgen.
It would be great if b2 could be improved to do this automatically.
Fredrik