RPI doc update
This commit is contained in:
parent
bdc49267e2
commit
22884df99f
4 changed files with 17 additions and 24 deletions
|
@ -6,15 +6,13 @@ Please use Raspberry Pi OS Bullseye. Older OSes are not tested.
|
|||
Option 1: Binary wheel
|
||||
----------------------
|
||||
|
||||
We have published a binary wheel using Raylib in X11 mode. This *should probably* install and work on Bullseye
|
||||
with
|
||||
We have published binary wheels compiled for 64-bit Raspberry OS Bullseye in X11 mode.
|
||||
|
||||
::
|
||||
|
||||
python3.9 -m pip install raylib==4.2.1.2
|
||||
python -m pip install raylib
|
||||
|
||||
If it doesn't work, or you're not on Bullseye, or you want a newer version,
|
||||
or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib. See below.
|
||||
If it doesn't work, or you're not on Bullseye, or you're 32 bit, or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib. See below.
|
||||
For full instructions on this, see https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi . If you need help with this ask Raylib.
|
||||
|
||||
Option 2: Compile Raylib from source X11 mode
|
||||
|
@ -40,7 +38,7 @@ Then have pip compile and install the wheel:
|
|||
sudo apt update
|
||||
sudo apt install python3-pip
|
||||
pip3 install setuptools
|
||||
pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1
|
||||
pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2
|
||||
|
||||
Option 3: Compile Raylib from source DRM mode
|
||||
---------------------------------------------
|
||||
|
@ -66,7 +64,7 @@ Then have pip compile and install the wheel with some extra linker flags:
|
|||
sudo apt update
|
||||
sudo apt install python3-pip
|
||||
pip3 install setuptools
|
||||
LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1
|
||||
LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2
|
||||
|
||||
|
||||
|
||||
|
|
Reference in a new issue