Boost logo

Boost :

Subject: Re: [boost] [build] Boost.Build/develop broken with msvc?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2019-03-06 20:51:05


AMDG

On 3/6/19 11:52 AM, John Maddock via Boost wrote:
> Currently I see:
>
> D:/data/boost/boost/tools/build/src/tools\msvc.jam:1388: in
> configure-really
> *** argument error
> * rule generate-setup-cmd ( version : command : parent : options * : cpu
> : global-setup ? : default-global-setup-options : default-setup )
> * called with: ( 14.16.27023 14.11.25503 : D:/compilers/visual
> studio/2017/VC/Tools/MSVC/14.11.25503/bin/HostX64/x64 :
> D:\compilers\visual studio\2017\VC\Tools\MSVC\14.11.25503\bin\HostX64 :
> <command>D:\compilers\visual
> studio\2017\VC\Tools\MSVC\14.16.27023\bin\Hostx64\arm\cl.exe
> <command>D:/compilers/visual
> studio/2017/VC/Tools/MSVC/14.11.25503/bin/HostX64/x64/cl.exe : i386 :  :
> x86 : vcvars32.bat )
> * extra argument 14.11.25503

This error only appears if you pass the path to
the compiler explicitly in your `using msvc` statement.
The bug already existed but was masked by another
bug which Tom's PR fixed. I'll fix it shortly, but
you should be able to work around the issue by leaving
off the path and letting vswhere find it automatically.

> <snip>

In Christ,
Steven Watanabe


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