Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Could not detect Ninja v1.5 or newer #13

Closed
johnny-wang16 opened this issue May 10, 2020 · 0 comments
Closed

ERROR: Could not detect Ninja v1.5 or newer #13

johnny-wang16 opened this issue May 10, 2020 · 0 comments

Comments

@johnny-wang16
Copy link

just a quick note on installing meson and ninja.
I followed this link to get meson and I installed ninja using sudo apt-get ninja-build but got the error : ERROR: Could not detect Ninja v1.5 or newer when executing meson . build . I resolved it by first uninstall ninja-build and re-installing ninja from source and copy the executable to /home/<user_name>/.local/bin .
Specifically,
1.install and build ninja:
git clone git://github.com/ninja-build/ninja.git && cd ninja
./configure.py --bootstrap
2. copy executable over
sudo cp ninja /home/<user_name>/.local/bin

After doing these steps, I was able to meson . build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant