Skip to content

Instantly share code, notes, and snippets.

@NoobsArePeople2
Last active April 6, 2022 09:08
Show Gist options
  • Save NoobsArePeople2/8086528 to your computer and use it in GitHub Desktop.
Save NoobsArePeople2/8086528 to your computer and use it in GitHub Desktop.
Install SFML dependencies on Ubuntu Linux
#!/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
@calebreister
Copy link

It helps to add "sudo /sbin/ldconfig" in order to update the library cache.

@ZhugeSong
Copy link

I also needed:
sudo apt-get install libxcb-image0-dev

@zdx3578
Copy link

zdx3578 commented May 21, 2016

61 sudo apt-get install libjpeg-dev
71 sudo apt-get install libflac-dev

@zdx3578
Copy link

zdx3578 commented May 21, 2016

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