c++ – undefined reference to `pthread_create

c++ – undefined reference to `pthread_create

You should use -lpthread not -pthread.

c++ – undefined reference to `pthread_create

Leave a Reply

Your email address will not be published.