Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Pthread on ubuntu?  (Read 17582 times)

0 Members and 1 Guest are viewing this topic.

JSB

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Pthread on ubuntu?
« 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?

thomas9459

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • Email
Re: Pthread on ubuntu?
« Reply #1 on: January 26, 2014, 09:11:06 pm »
According to this tutorial, the correct package is libpthread-stubs0-dev.

JSB

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Pthread on ubuntu?
« Reply #2 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10826
    • View Profile
    • development blog
    • Email
Re: Pthread on ubuntu?
« Reply #3 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/