Updated Compile for Raspberry Pi (markdown)

Ray
2017-03-22 20:32:28 +01:00
parent 8dc51b823c
commit f0cdbfa620

@ -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