diff --git a/Working-on-Raspberry-Pi.md b/Working-on-Raspberry-Pi.md index 3245095..51af3c6 100644 --- a/Working-on-Raspberry-Pi.md +++ b/Working-on-Raspberry-Pi.md @@ -2,7 +2,17 @@ To build your raylib game for Raspberry Pi you just need to download raylib git ### Supported Devices and OS -Currently ALL Raspberry Pi devices are supported by raylib (1, 2, 3, Zero and variants). OS supported is [Raspbian Stretch](https://www.raspberrypi.org/downloads/raspbian/). If you're still using Raspbian Jessie, you should update to Raspbian Stretch. +Official OS supported is [Raspbian Buster](https://www.raspberrypi.org/downloads/raspbian/). Following Raspberry Pi devices work flawlessly by raylib: + + - Raspberry Pi Zero (all models) + - Raspberry Pi 1 (all models) + - Raspberry Pi 2 (all models) + - Raspberry Pi 3 (all models) + - _Raspberry Pi 4 (PLATFORM_DESKTOP only!)_ + +_NOTE: Currently **Raspberry Pi 4** native mode compilation is not supported, for further information just [check this issue](https://github.com/raysan5/raylib/issues/1041)._ + + ### Supported OpenGL backends @@ -29,13 +39,14 @@ make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21 NOTE: To use raylib on Raspbian desktop, you need to had previously installed all desktop windowin system libraries, if you just downloaded [Raspbian Desktop](https://www.raspberrypi.org/downloads/raspberry-pi-desktop/), it comes with all required libraries installed but if you're using a plain (no desktop) Raspbian system, you need to install the following components first: ``` sudo apt-get install --no-install-recommends raspberrypi-ui-mods lxterminal gvfs -sudo apt-get install mesa-common-dev -sudo apt-get install libgl1-mesa-dev +sudo apt-get install libx11-dev sudo apt-get install libxcursor-dev sudo apt-get install libxinerama-dev sudo apt-get install libxrandr-dev sudo apt-get install libxi-dev sudo apt-get install libasound2-dev +sudo apt-get install mesa-common-dev +sudo apt-get install libgl1-mesa-dev ``` raylib also works on [DietPi](https://dietpi.com/) distribution, following libraries are required: ```