mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated Working on Raspberry Pi (markdown)
@ -48,6 +48,10 @@ NOTE: To use raylib on the Raspberry Pi desktop, you need to had previously inst
|
||||
sudo apt-get install --no-install-recommends raspberrypi-ui-mods lxterminal gvfs
|
||||
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libasound2-dev mesa-common-dev libgl1-mesa-dev
|
||||
```
|
||||
To compile raylib in native mode on Raspberry Pi 4, you need the specific DRM libraries:
|
||||
```
|
||||
sudo apt-get install libdrm-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev
|
||||
```
|
||||
raylib also works on [DietPi](https://dietpi.com/) distribution, following libraries are required:
|
||||
```
|
||||
sudo apt-get libraspberrypi-dev raspberrypi-kernel-headers
|
||||
|
||||
Reference in New Issue
Block a user