Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SMGCommunity/Petari/llms.txt
Use this file to discover all available pages before exploring further.
Petari’s build system requires a small set of tools: Python 3 to run the configure script, Ninja as the build executor, and either Wine or the lightweight wibo wrapper to run the CodeWarrior compiler (a Windows binary) on non-Windows platforms. The exact tools and install steps differ by operating system — follow the section for your platform below.
On Windows, native tooling is used directly — WSL and msys2 are not required and are not recommended.When running under WSL, objdiff is unable to receive filesystem notifications, so automatic rebuilds will not work. Use native Windows tooling instead.
PythonInstall Python from the official site and make sure to add it to %PATH% during setup:# Option 1: download the installer from https://www.python.org/downloads/
# Option 2: install from the Windows Store (Python 3.11)
# Option 3: install via winget
winget install Python.Python.3
NinjaDownload the Ninja binary from GitHub and add it to %PATH%, or install it via pip: Both Ninja and Wine are available through Homebrew.NinjaWine CrossoverThe CodeWarrior compiler is a 32-bit Windows binary, so Wine is required to run it on macOS:brew install --cask --no-quarantine gcenx/wine/wine-crossover
After a macOS upgrade, if the system flags Wine Crossover.app as unverified, remove the quarantine attribute with:sudo xattr -rd com.apple.quarantine '/Applications/Wine Crossover.app'
NinjaInstall Ninja from your distribution’s package manager. For example, on Debian/Ubuntu:sudo apt install ninja-build
Wine or wiboOn x86_64 Linux, wibo — a minimal 32-bit Windows binary wrapper — is automatically downloaded and used by the build system. No manual installation is needed.On non-x86 platforms (e.g. ARM), install Wine from your package manager instead:# Debian/Ubuntu
sudo apt install wine
# Fedora
sudo dnf install wine
# Arch Linux
sudo pacman -S wine