mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-04 21:29:18 -05:00
Updated Compile for Raspberry Pi (markdown)
@ -16,7 +16,7 @@ raylib only requires one additional library dependency to the ones that already
|
|||||||
|
|
||||||
sudo apt-get install libopenal1 libopenal-dev
|
sudo apt-get install libopenal1 libopenal-dev
|
||||||
|
|
||||||
If using raylib on desktop mode, another additional dependency is required:
|
**If using raylib on desktop mode**, another additional dependency is required:
|
||||||
|
|
||||||
sudo apt-get install libglfw3
|
sudo apt-get install libglfw3
|
||||||
|
|
||||||
@ -35,10 +35,16 @@ make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21
|
|||||||
|
|
||||||
### Compiling raylib examples
|
### Compiling raylib examples
|
||||||
|
|
||||||
Just move to folder `raylib/examples/` and run one of those options (depending on target OpenGL version):
|
Just move to folder `raylib/examples/` and run **one of those two options** (depending on target OpenGL version):
|
||||||
|
|
||||||
make PLATFORM=PLATFORM_RPI
|
1. To use OpenGL ES 2.0 in native mode (no X11):
|
||||||
make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21
|
```
|
||||||
|
make PLATFORM=PLATFORM_RPI
|
||||||
|
```
|
||||||
|
2. To use desktop OpenGL 1.1 or 2.1 (X11 window)
|
||||||
|
```
|
||||||
|
make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21
|
||||||
|
```
|
||||||
|
|
||||||
To compile just one specific example:
|
To compile just one specific example:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user