File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
::
10
10
11
- python3 -m pip install raylib==4.2.0.0.dev1
11
+ python3.9 -m pip install raylib==4.2.1.2
12
12
13
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.
14
+ or if you want to use Raylib in ``PLATFORM_DRM `` mode, you will need to compile your own raylib.
15
+ For full instructins on this, see https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi . If you need help with this ask Raylib.
16
+
17
+ This 'worked for me':
16
18
17
19
::
18
20
19
- git clone https://github.com/raysan5/raylib.git
21
+ git clone https://github.com/raysan5/raylib.git --branch 4.2.0 --single-branch
20
22
cd raylib
21
23
mkdir build
22
24
cd build
23
25
cmake -DPLATFORM="DRM" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
24
26
make
25
27
sudo make install
26
- pip3 install --no-binary raylib --upgrade --force-reinstall raylib==4.2.0.0.dev2
28
+
29
+ Then have pip compile the wheel:
30
+
31
+ ::
32
+
33
+ pip3 install --no-binary raylib --upgrade --force-reinstall raylib==4.2.1.2
27
34
28
35
(or newer version)
29
36
You can’t perform that action at this time.
0 commit comments