Boost logo

Boost :

Subject: Re: [boost] [release] 1.64.0 please test master snapshot
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2017-03-22 03:37:32


On Tue, Mar 21, 2017 at 2:32 PM, Jürgen Hunold via Boost <
boost_at_[hidden]> wrote:

> Hi,
>
> just tested this on develop...
>
> Am Dienstag, 21. März 2017, 19:44:25 CET schrieb Olaf van der Spek via
> Boost:
> > '"C:/Program Files (x86)/Microsoft Visual
> > Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/
> HostX86/vcvarsall.bat"'
> > is not recognized as an internal or extern
> > al command, operable program or batch file.
>
> The compiler autodetection from a plain cmd shell is broken. That is line
> 715
> of msvc.jam, current
> local shell_ret = [ SHELL "$(cl_path) 14.10 -PathToCompiler" ] ;
>
> Manually calling the helper script "cl_path.cmd" results in:
>
> cl_path.cmd 14.10 -PathToCompiler
> Join-Path : Das Argument kann nicht an den Parameter "Path" gebunden
> werden,
> da es NULL ist.
>

Works for me:

===
C:\DevRoots\Boost\master\tools\build\src\tools\vc141helper>cl_path.cmd
14.10 -PathToCompiler
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\cl.exe
===

Although giving it an "invalid" version confuses it:

===
C:\DevRoots\Boost\master\tools\build\src\tools\vc141helper>cl_path.cmd 14.1
-PathToCompiler
Cannot index into a null array.
At
C:\DevRoots\Boost\master\tools\build\src\tools\vc141helper\GetCLPath.ps1:30
char:9
+ Write-Output $cls[0].FullName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
ECHO is off.
===

Is that what you are doing?

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

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