Boost logo

Boost-Build :

Subject: [Boost-build] Issue attempting to stage boost on windows MSVC-10.0
From: John Bargman (darthpjb_at_[hidden])
Date: 2013-10-30 08:28:59


I've decided to update the version of boost in my companies project,
however I'm having an issue producing a staged version as I normally would.

In version 1.52.0 I would open the correct visual-studio command prompt
and run the following:
/Bootstrap.bat//
//b2 --toolset=msvc-10.0 --build-type=complete architecture=x86
--stagedir=stage\lib\x32 stage/
b2 --toolset=msvc-10.0 --build-type=complete architecture=x86
address-model=64 --stagedir=stage\lib\x64 stage

The result would be the 64bit and 32bit builds of the boost libraries
would be output to the boost_1_52_0\stage\lib\[type] directory.

I've downloaded 1.54.0 and attempted to do the same, the result was I
was met with the error
/"notice: could not find main target stage
notice: assuming it is a name of file to create.
error: Project target requested but not yet assigned for module
'Jamfile<D:\Local_git\boost_1_54_0>'."

/To resolve this I proceeded to:
/cd tools
//..\b2 --toolset=msvc-10.0 --build-type=complete architecture=x86
--stagedir=stage\lib\x32 stage/

The result of this is:
/"notice: could not find main target stage
notice: assuming it is a name of file to create.
Performing configuration checks

     - has_icu builds : no
don't know how to make <e>stage
...found 1 target...
...can't find 1 target..."/

I thought perhaps a command line switch had been changed, so I attempted
the following:

/d:\Local_git\boost_1_54_0\tools>..\b2 --build-type=complete stage/
This also resulted in:
/"notice: could not find main target stage//
//notice: assuming it is a name of file to create.//
//Performing configuration checks//
//
// - has_icu builds : no//
//don't know how to make <e>stage//
//...found 1 target...//
//...can't find 1 target.../"

I'm somewhat confused as to what I'm doing wrong, previous versions of
boost from 1.3->1.52 have built using the above command-line with no
effort. If I download the archive of 1.52 it continues to work with the
command-lines above.

However 1.54 does not, Is anyone aware of any changes to B2 or boost
that could have caused this issue? Or is there something wrong with my
attempt to stage the static libraries?



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