undefined reference to `pthread_create' during compilation

Issue #2 new
Former user created an issue

Hello Executing make after cmake.. it will generate the following error under Ubuntu 18.04:

mt_cpp11.cpp:(.text.ZNSt6threadC2IRPFvPvEJRS1_EEEOT_DpOT0[ZNSt6threadC5IRPFvPvEJRS1_EEEOT_DpOT0]+0x33): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status

Comments (0)

  1. Log in to comment