Boost logo

Boost :

Subject: Re: [boost] [sync] Included file not found
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-02-17 01:17:54


On Sunday 16 February 2014 23:40:01 Edward Diener wrote:
> On 2/16/2014 10:14 PM, Peter Dimov wrote:
> > Edward Diener wrote:
> >> When I build boost libraries from the top with the latest
> >> modular-boost master with MingW/gcc-4.8.1 on Window I get thi error in
> >> sync:
> >>
> >> In file included from libs\sync\src\tss_windows_pe.cpp:9:0:
> >> ./boost/sync/detail/config.hpp:32:42: fatal error:
> >> boost/detail/winapi/config.hpp: No such file or directory
> >>
> >> #include <boost/detail/winapi/config.hpp>
> >
> > 'sync' is only in develop and not in master (because it was only in
> > trunk before the transition). However if you checkout develop, then
> > checkout master, the contents of the directory libs/sync remain, even
> > though master has no submodule there. The full build then probably
> > enumerates and builds everything in libs, so it tries to build sync, and
> > fails because the above header is - I presume - only in develop.
> >
> > sync probably needs to be added as a submodule to master as well.
>
> I actually have 'sync' checked out in 'develop', have run 'b2 headers'
> again and there is still no 'boost/detail/winapi/config.hpp'.

boost/detail/winapi/config.hpp is in the detail submodule, not sync. That
module is present in both master and develop, but config.hpp is only in
develop. I guess, some of the changes were not merged to master, but that's ok
since noone uses them in master.

If you're trying to build Boost.Sync you should checkout develop of everything
(or at least sync and detail; I'm not sure if there is any other unmerged
differences) and then do 'b2 headers'.


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