Skip to content

make clean errors on Windows: CreateProcess() failed #21102

Open
@0xEAB

Description

@0xEAB

Running make clean yields an error on my Windows machine.

make[2]: Entering directory 'C:/dmd/druntime/test/betterc'
Using make SHELL "C:/Program Files/Git/usr/bin/bash.exe", should be bash.
rm -f -r ./generated/windows/debug/64
make[2]: Leaving directory 'C:/dmd/druntime/test/betterc'
C:/Tools/make.exe -C test/stdcpp MODEL=64 OS=windows BUILD=release clean
make[2]: Entering directory 'C:/dmd/druntime/test/stdcpp'
process_begin: CreateProcess(NULL, cl /nologo /EP msc_ver.c, ...) failed.
GNUmakefile.windows:5: pipe: No error
GNUmakefile.windows:6: *** non-numeric first argument to 'intcmp' function: empty value.  Stop.
make[2]: Leaving directory 'C:/dmd/druntime/test/stdcpp'
make[1]: *** [Makefile:506: test/stdcpp/.clean] Error 2
make[1]: Leaving directory 'C:/dmd/druntime'
make: *** [Makefile:79: clean] Error 2
make: Leaving directory 'C:/dmd'

Installed SDK: Visual Studio Build Tools 2022 v17.13.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions