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 88
99::
1010
11- python3 -m pip install raylib==4.2.0.0.dev1
11+ python3.9 -m pip install raylib==4.2.1.2
1212
1313If 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':
1618
1719::
1820
19- git clone https://github.com/raysan5/raylib.git
21+ git clone https://github.com/raysan5/raylib.git --branch 4.2.0 --single-branch
2022 cd raylib
2123 mkdir build
2224 cd build
2325 cmake -DPLATFORM="DRM" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
2426 make
2527 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
2734
2835(or newer version)
2936
You can’t perform that action at this time.
0 commit comments