I installed chocolatey and then ninja using choco install ninja.
It got installed at
C:\ProgramData\chocolatey\lib\ninja\tools
.
I added the path to the Environment variables too. When I launch ninja now, it throws and error:
ninja: error: loading 'build.ninja': The system cannot find the file specified.
I just typed ninja on the powerShell prompt and this error is thrown! Does anyone have any idea of what's happening actually?
The ninja build system on your computer worked correctly! That error will occur if you run ninja with no arguments. If you add some arguments for it, such as ninja --version
and then, It worked!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With