mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-25 16:49:18 -05:00
Updated Compile for Raspberry Pi (markdown)
@ -1,18 +1,18 @@
|
|||||||
To build your raylib game for Raspberry Pi you need to download raylib git repository and install some dependencies. raylib already comes with ready-to-use makefiles to compile source code and examples.
|
To build your raylib game for Raspberry Pi you need to download raylib git repository and install some dependencies. raylib already comes with ready-to-use makefiles to compile source code and examples.
|
||||||
|
|
||||||
###Installing dependencies
|
### Installing dependencies
|
||||||
|
|
||||||
raylib only requires one additional library dependency to the ones that already comes with Raspbian, this library is OpenAL Soft (audio system management). Just install it:
|
raylib only requires one additional library dependency to the ones that already comes with Raspbian, this library is OpenAL Soft (audio system management). Just install it:
|
||||||
|
|
||||||
sudo apt-get install libopenal1 libopenal-dev
|
sudo apt-get install libopenal1 libopenal-dev
|
||||||
|
|
||||||
###Compiling raylib source code
|
### Compiling raylib source code
|
||||||
|
|
||||||
Before compiling your game, raylib library must be recompiled for Raspbian. To do that, just navigate to `raylib\src\` directory and run:
|
Before compiling your game, raylib library must be recompiled for Raspbian. To do that, just navigate to `raylib\src\` directory and run:
|
||||||
|
|
||||||
make PLATFORM=PLATFORM_RPI
|
make PLATFORM=PLATFORM_RPI
|
||||||
|
|
||||||
###Compiling raylib examples
|
### Compiling raylib examples
|
||||||
Just move to folder `raylib/examples/` and run:
|
Just move to folder `raylib/examples/` and run:
|
||||||
|
|
||||||
make PLATFORM=PLATFORM_RPI
|
make PLATFORM=PLATFORM_RPI
|
||||||
|
|||||||
Reference in New Issue
Block a user