|
@ -16,8 +16,12 @@ Optionally, you could use **CMake** building system. |
|
|
#### Install required libraries |
|
|
#### Install required libraries |
|
|
You need to install some required libraries; **ALSA** for audio, **Mesa** for OpenGL accelerated graphics and **X11** for windowing system. |
|
|
You need to install some required libraries; **ALSA** for audio, **Mesa** for OpenGL accelerated graphics and **X11** for windowing system. |
|
|
|
|
|
|
|
|
|
|
|
##### Ubuntu |
|
|
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev |
|
|
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev |
|
|
|
|
|
|
|
|
|
|
|
##### Fedora |
|
|
|
|
|
sudo dnf install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel |
|
|
|
|
|
|
|
|
### Build raylib using make |
|
|
### Build raylib using make |
|
|
You can compile three different types of raylib library: |
|
|
You can compile three different types of raylib library: |
|
|
|
|
|
|
|
|