Open habersaa opened 4 years ago
After checking the python code of meson, I found a work-around for this issue by defining an environment variable called "NINJA" with the exact path, but neither the "ninja.exe" located in the Windows path, nor the one located beside meson.exe (when installed with Python) have been found.
Hello, @habersaa I think if you install Ninja with the pip
package manager it would start working. Conceder reading through this page for more on that.
Describe the bug While trying to build gstream from the gst-build repository, at some point meson fails with the message "ERROR: Could not detect Ninja v1.5 or newer"
But Ninja is correctly in the path: PS C:\work\tests\gst-build> which ninja /c/Users/alexandre.haabersat/AppData/Roaming/Python/Python38/Scripts/ninja
PS C:\work\tests\gst-build> ninja --version 1.9.0.git.kitware.dyndep-1.jobserver-1
I have tried with 3 different versions of ninja, but the same problem appears all the time.
To Reproduce
All subproject are checked out correctly, but at the end it fails with a message saying that ninja is not found:
ERROR: Could not detect Ninja v1.5 or newer