Subject: Re: [Boost-build] 'stage' parameter: "don't know how to make <e>stage"
From: Lars Viklund (zao_at_[hidden])
Date: 2013-09-12 10:15:25
On Thu, Sep 12, 2013 at 06:11:07PM +0400, Vladimir Prus wrote:
> On 09.09.2013 16:33, Mohsen Mesgarpour wrote:
>> Hi there,
>> I am trying to install boost v.1.54 on windows 7(Version 6.1.7601). The cygwin with mingw, gcc and g++ compilers are installed.
>> I need to use the 'stage' parameter for building the boost; however it produces the following error:
>> C:\boost\tools\build\v2>b2 --prefix="C:\boost" toolset=gcc --build type=complete gcc stage
> You appear to run this from Boost.Build root, not Boost root (which would be C:\boost\tools)
That would be C:\boost if your goal is to build Boost.
If your goal is to build all the tools, you should use the working
directory Vladimir mentioned.
Also note that --build-type is spelled with a dash in the middle.
Also note that --prefix is meaning-less if you're doing a 'stage' build
of Boost, as it only matters when doing an 'install' build.
A 'stage' build always puts the libraries in the --stagedir location, by
-- Lars Viklund | zao_at_[hidden]
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