mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Documentation: Add guidance on “can’t find Ninja” error message
This commit is contained in:
parent
88176d4be2
commit
8affa377fb
Notes:
github-actions[bot]
2024-07-25 19:58:25 +00:00
Author: https://github.com/sideshowbarker Commit: https://github.com/LadybirdBrowser/ladybird/commit/8affa377fb1 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/833
1 changed files with 18 additions and 0 deletions
|
@ -197,6 +197,24 @@ brew install llvm
|
|||
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ ./Meta/ladybird.sh run
|
||||
```
|
||||
|
||||
### Build error messages you may encounter
|
||||
|
||||
The section lists out some particular error messages you may run into, and explains how to deal with them.
|
||||
|
||||
#### Unable to find a build program corresponding to "Ninja"
|
||||
|
||||
Solution to try: If you do in fact already have Ninja installed, then first try reinstalling Ninja.
|
||||
|
||||
Details: If you see the message *“Unable to find a build program corresponding to "Ninja"”*, it’s likely not an indication that the build tooling can’t actually find Ninja, but instead an indication that the tooling found Ninja but it failed to run successfully.
|
||||
|
||||
So, when you do run into that error message, the way to start figuring out what’s actually wrong is to try invoking Ninja manually, like this:
|
||||
|
||||
```
|
||||
ninja -C Build/ladybird
|
||||
```
|
||||
|
||||
Then, based on what output you get from that, you can troubleshoot the *actual* problem you’re running into — which may involve uninstalling your current Ninja install, and then re-installing it.
|
||||
|
||||
### Resource files
|
||||
|
||||
Ladybird requires resource files from the ladybird/Base/res directory in order to properly load
|
||||
|
|
Loading…
Reference in a new issue