Boost logo

Boost-Build :

Subject: [Boost-build] Problems specifying setup script
From: Marcel Raad (raad_at_[hidden])
Date: 2016-10-31 16:54:41


Hi,

I'm trying to build Boost with Visual Studio 15 Preview 5. As the directory
layout changed completely in this release, I'm trying to follow the
documentation at [1] to specify the paths manually for starters. I have this
in my project-config.jam:

using msvc : 15.0 : "cl.exe" : <setup-i386>"C:/Program Files (x86)/Microsoft
Visual
Studio/VS15Preview/Common7/IDE/VisualCpp/Auxiliary/Build/vcvars32.bat" ;

When I try to do anything with b2 (bootstrapped by Preview 4), even just
"b2.exe headers", it complains:
C:/boost/tools/build/src/tools\msvc.jam:834: in generate-setup-cmd
*** argument error
* rule maybe-rewrite-setup ( toolset : setup-script : setup-options :
version : rewrite-setup ? )
* called with: ( msvc : : : 15.0 : )
* missing argument setup-script
C:/boost/tools/build/src/tools\msvc.jam:746:see definition of rule
'maybe-rewrite-setup' being called
C:/boost/tools/build/src/tools\msvc.jam:1076: in configure-really
C:/boost/tools/build/src/tools\msvc.jam:201: in configure
C:/boost/tools/build/src/tools\msvc.jam:153: in msvc.init
C:/boost/tools/build/src/build\toolset.jam:43: in toolset.using
C:/boost/tools/build/src/build\project.jam:1052: in using
project-config.jam:3: in modules.load
C:/boost/tools/build/src\build-system.jam:249: in load-config
C:/boost/tools/build/src\build-system.jam:412: in load-configuration-files
C:/boost/tools/build/src\build-system.jam:524: in load
C:\boost\tools\build\src/kernel\modules.jam:295: in import
C:\boost\tools\build\src/kernel/bootstrap.jam:139: in boost-build
C:\boost\boost-build.jam:17: in module scope

Does this mean that my manually specified setup script is not honored? What
am I doing wrong?

Thanks,
Marcel

[1]
http://www.boost.org/build/doc/html/bbv2/reference/tools.html#bbv2.reference.tools.compiler.msvc

--
View this message in context: http://boost.2283326.n4.nabble.com/Problems-specifying-setup-script-tp4689443.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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