Last active
April 6, 2022 09:08
-
-
Save NoobsArePeople2/8086528 to your computer and use it in GitHub Desktop.
Install SFML dependencies on Ubuntu Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Install CMake GUI | |
sudo apt-get install cmake-gui | |
# SFML Dependencies | |
sudo apt-get install libpthread-stubs0-dev | |
sudo apt-get install libgl1-mesa-dev | |
sudo apt-get install libx11-dev | |
sudo apt-get install libxrandr-dev | |
sudo apt-get install libfreetype6-dev | |
sudo apt-get install libglew1.5-dev | |
sudo apt-get install libjpeg8-dev | |
sudo apt-get install libsndfile1-dev | |
sudo apt-get install libopenal-dev | |
# Joystick | |
sudo apt-get install libudev-dev |
I also needed:
sudo apt-get install libxcb-image0-dev
61 sudo apt-get install libjpeg-dev
71 sudo apt-get install libflac-dev
sudo apt-get install -y libpthread-stubs0-dev libgl1-mesa-dev libx11-dev libxrandr-dev libfreetype6-dev libglew1.5-dev libjpeg8-dev libsndfile1-dev libopenal-dev libudev-dev libxcb-image0-dev libjpeg-dev libflac-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It helps to add "sudo /sbin/ldconfig" in order to update the library cache.