Closed jimsimonz closed 1 year ago
Hmm... I haven't seen this myself and I'm not too intimately familiar with Windows build problems, but I would guess that the error
CreateProcess failed: The system cannot find the file specified.
means that Ninja was unable to execute the compiler (cl
) at all, rather than that the arguments to the compiler were wrong.
(If the problem had been a wrong path to a source file or a problem with one of the other arguments to the compiler, then I would expect to see an error message from the compiler instead.)
Is it possible that something funny has happened to your local environment, e.g. the PATH
variable? For example I guess this could happen if you configured using Meson in a command prompt with some compiler environment set up in it, and then ran Ninja in a different command prompt without any compiler path configured.
Thanks you're right the build tool environment wasn't set.
Clean build not working on Windows, any ideas?