www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17252] New: Invalid PATH variable in build script


          Issue ID: 17252
           Summary: Invalid PATH variable in build script
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: arkay gmx.net

Somehow the PATH variable contains a garbage character which in turn leads to
an error message from OPTLINK.

This gets added to build.cmd:

set PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files
(x86)\Windows Kits\8.1\bin\x86;D:\Dlang\dmd2\windowsin;%PATH%

D:\Dlang\dmd2\windowsin should actually be D:\Dlang\dmd2\windows\bin

Mar 10 2017