
On Wed, Mar 22, 2017 at 12:08 PM, Jürgen Hunold via Boost < boost@lists.boost.org> wrote:
Hi Rene,
Am Mittwoch, 22. März 2017, 10:11:28 CET schrieb Jürgen Hunold via Boost:
Windows 7 64bit Windows Server 2008 R2 Service Pack 1 64 bit
After some digging around, I found that the PowerShell Version on the machines is ...\boost\tools\build\src\tools\vc141helper>powershell Windows PowerShell Copyright (C) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
PS ..\boost\tools\build\src\tools\vc141helper> $Host.Version
Major Minor Build Revision ----- ----- ----- -------- 2 0 -1 -1
whereas the $PSScriptRoot Variable used in GetCLPath.ps1 is available from PowerShell 3+ (see http://stackoverflow.com/questions/3667238/how-can-i- get-the-file-system-location-of-a-powershell-script) for possible solutions. But even if I hack
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path - Parent }
into the script, it then later bails out with more PS3 specific problems.
TLDR; Auto-Detection is broken with PowerShell 2
Oh how I hate what Microsoft has brought onto the programming world.. We'll work on fixing it after beta. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail