SFML community forums
Help => General => Topic started by: JSB on January 26, 2014, 08:53:04 pm
-
I am trying to install all the dependencies for compiling sfml on ubuntu, and I have installed all of them except pthread. I've tried a google search for "how to install pthread ubuntu" and these desperate tries: sudo apt-get install pthread, sudo apt-get install libpthread-dev, sudo apt-get install libpthread, sudo apt-get install pthread-dev and on and on. How do you install Pthread on ubuntu linux?
-
According to this tutorial (http://onlyakiss.net/2013/04/how-to-install-sfml-2-0-into-ubuntu-12-04/), the correct package is libpthread-stubs0-dev.
-
Installed package, works perfectly! Compiled my program with 0 errors. Thank you. Just to let everyone know: building from source is a hassle, but once your done and dependencies installed it woks like a charm.
-
You might want to read up a bit on how to use aptitude. ;)
It would've been rather easy to find, by typing: aptitude search pthread.