-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Tutorial: Installing SFML dependencies
Lukas Dürrenberger edited this page Apr 23, 2019
·
8 revisions
In order to build SFML on Linux, several libraries and their development headers need to be installed first. There is an exhaustive list available at the SFML website.
But you are using Ubuntu, this simple script should install all the dependencies through Ubuntu's APT (Advanced Packaging Tool) library.
#!/usr/bin/env bash
apt-get install \
libfreetype6-dev \
libx11-dev \
libxrandr-dev \
libgl1-mesa-dev \
libudev-dev \
libopenal-dev \
libflac-dev \
libogg-dev \
libvorbis-dev -y