dtk-template/docs/dependencies.md

42 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

Dependencies
============
2023-10-05 03:26:02 +00:00
2024-03-05 06:30:38 +00:00
Windows
--------
2023-10-05 03:26:02 +00:00
On Windows, it's **highly recommended** to use native tooling. WSL or msys2 are **not** required.
When running under WSL, [objdiff](https://github.com/encounter/objdiff) is unable to get filesystem notifications for automatic rebuilds.
2023-10-05 03:26:02 +00:00
- Install [Python](https://www.python.org/downloads/) and add it to `%PATH%`.
- Also available from the [Windows Store](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K).
- Download [ninja](https://github.com/ninja-build/ninja/releases) and add it to `%PATH%`.
- Quick install via pip: `pip install ninja`
2024-03-05 06:30:38 +00:00
macOS
------
2024-03-05 06:30:38 +00:00
2023-10-05 03:26:02 +00:00
- Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages):
2024-03-05 06:30:38 +00:00
```sh
2023-10-05 03:26:02 +00:00
brew install ninja
```
2024-03-05 06:30:38 +00:00
2023-10-05 03:26:02 +00:00
- Install [wine-crossover](https://github.com/Gcenx/homebrew-wine):
2024-03-05 06:30:38 +00:00
```sh
2023-10-05 03:26:02 +00:00
brew install --cask --no-quarantine gcenx/wine/wine-crossover
```
After OS upgrades, if macOS complains about `Wine Crossover.app` being unverified, you can unquarantine it using:
2024-03-05 06:30:38 +00:00
2023-10-05 03:26:02 +00:00
```sh
sudo xattr -rd com.apple.quarantine '/Applications/Wine Crossover.app'
```
2024-03-05 06:30:38 +00:00
Linux
------
2024-03-05 06:30:38 +00:00
2023-10-05 03:26:02 +00:00
- Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages).
- For non-x86(_64) platforms: Install wine from your package manager.
- For x86(_64), [wibo](https://github.com/decompals/wibo), a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.