File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ Raspberry Pi
2+ ====================
3+
4+ Please use Raspberry Pi OS Bullseye. Older OSes are not tested.
5+
6+ We have published a binary wheel using Raylib in X11 mode. This *should * install and work on Bullseye
7+ with
8+
9+ ::
10+
11+ python3 -m pip install raylib==4.2.0.0.dev1
12+
13+ If it doesn't work, or we haven't published a binary wheel for the latest version,
14+ or if you want to use Raylib in ``PLATFORM_DRM `` mode, you will need to compile your own raylib
15+ and have pip compile the wheel.
16+
17+ ::
18+
19+ git clone https://github.com/raysan5/raylib.git
20+ cd raylib
21+ mkdir build
22+ cd build
23+ cmake -DPLATFORM="DRM" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
24+ make
25+ sudo make install
26+ pip3 install --no-binary raylib --upgrade --force-reinstall raylib==4.2.0.0.dev2
27+
28+ (or newer version)
29+
30+ .. attention ::
31+
32+ The Broadcom proprietary Open GL ES 2.0 drivers (installed by Raspbian into ``/opt/vc `` and compiled in Raylib
33+ with ``PLATFORM_RPI ``) do not work with Bullseye and have not been tested with the bindings. They will probably
34+ require additional linker arguments to be added to ``build.py ``. Suggest you use ``PLATFORM_DRM `` instead.
You can’t perform that action at this time.
0 commit comments