SFML community forums

Help => General => Topic started by: JSB on January 26, 2014, 08:53:04 pm

Title: Pthread on ubuntu?
Post 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?
Title: Re: Pthread on ubuntu?
Post by: thomas9459 on January 26, 2014, 09:11:06 pm
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.
Title: Re: Pthread on ubuntu?
Post by: JSB on January 26, 2014, 09:24:32 pm
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.
Title: Re: Pthread on ubuntu?
Post by: eXpl0it3r on January 26, 2014, 10:35:04 pm
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.