55 lines
1.7 KiB
Markdown
55 lines
1.7 KiB
Markdown
## Prerequisites
|
|
|
|
### macOS
|
|
|
|
* `brew install raylib`
|
|
|
|
### iOS
|
|
|
|
* `brew install xcodegen`
|
|
* ghera's [raylib-ios-xcframeworks][rzip] release unpacked and placed alongside the project
|
|
|
|
### Android
|
|
|
|
* Android Studio Quail 3 (2026.1.3)
|
|
|
|
### Linux
|
|
|
|
* Ubuntu 24.04
|
|
* [Swiftly][swiftly] + Swift (installed by Swiftly)
|
|
* Swift dependencies (proposed by Swiftly after Swift installation)
|
|
|
|
`apt-get -y install binutils git gnupg2 libcurl4-openssl-dev libgcc-13-dev libpython3-dev libstdc++-13-dev libxml2-dev libncurses-dev libz3-dev pkg-config zlib1g-dev`
|
|
* CrossSwiftUI dependency
|
|
|
|
`apt-get -y install libgtk-4-dev`
|
|
|
|
### Windows
|
|
|
|
![Developer mode][w11-dev-mode]
|
|
|
|
* Install Windows 11
|
|
* Install [Visual Studio 2022][vs]
|
|
* Install Swift toolchain for x64 (even on ARM, yes, this is not a mistake)
|
|
|
|
`winget install --id Swift.Toolchain -e --architecture x64 --source winget`
|
|
* Enable developer mode
|
|
|
|
Settings -> System -> Advanced -> Developer Mode: On (see the screenshot above)
|
|
|
|
* Install Git Bash
|
|
|
|
`winget install --id Git.Git -e --architecture x64 --override "/DIR=\"C:\Program Files\Git\" /ADDGENERICPORTS=YES /BASH=YES /SYMLINKS=YES" --source winget`
|
|
|
|
## Components
|
|
|
|
| Component | macOS | iOS | Android | Linux | Windows | Description |
|
|
| --- | --- | --- | --- | --- | --- | --- |
|
|
| hp | √ | √ | √ | √ | | **h**ello-**p**latform is a simple UI to validate platform support |
|
|
| hrb | | | | | | **h**ello-**r**ayli**b** is a simple raylib rendering to validate platform support |
|
|
|
|
[rzip]: https://github.com/ghera/raylib-iOS/releases/download/6.2.0-iOS/raylib-ios-xcframeworks-6.2.0-iOS.zip
|
|
[swiftly]: https://www.swift.org/install/linux/
|
|
[vs]: https://www.swift.org/install/windows/
|
|
[w11-dev-mode]: docs/img/w11-dev-mode.jpg
|