Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building using b2 in a different partition from modular boost
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-03-10 13:34:33


> -----Original Message-----
> From: Steven Watanabe [mailto:watanabesj_at_[hidden]]
> Sent: 09 March 2015 16:54
> To: Boost.Build developer's and user's list
> Subject: Re: [Boost-build] Building using b2 in a different partition from modular boost
>
> AMDG
>
> On 03/09/2015 10:43 AM, Paul A. Bristow wrote:
> > I've tried to use bjam/b2 in a *different partition* from my modular
> > boost at
> >
> > I:\modular-boost
> >
> > I've tried adding a boost-build.jam file containing
> >
> > boost-build I:\modular-boost ;
> >
>
> That should be:
>
> boost-build I:\\modular-boost\\tools\\build ;
>
> '\' is an escape character just like in C++.
> You can use forward slashes instead. It also needs to find Boost.Build rather than Boost.

boost-build I:\\modular-boost\\tools\\build ;

fails

Unable to load Boost.Build: could not find build system.
---------------------------------------------------------
J:\Cpp\boost-build.jam attempted to load the build system by invoking

   'boost-build I:\modular-boost\tools\build ;'

but we were unable to find "bootstrap.jam" in the specified directory
or in BOOST_BUILD_PATH (searching I:\modular-boost\tools\build).

Please consult the documentation at 'http://www.boost.org'.

but bootstrap.jam is actually at I:\modular-boost\tools\build\src

so I tried

boost-build I:\\modular-boost\\tools\\build\\src ;

and then added a jamroot.jam and that did the trick.

Thanks again.

Paul


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