Answers for "undefined reference to `pthread_create' c++"

C++
3

undefined reference to `pthread_create' c++

add_compile_options(-pthread)
Posted by: Guest on September-20-2020
1

undefined reference to `pthread_create' c++

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
Posted by: Guest on September-20-2020

Code answers related to "undefined reference to `pthread_create' c++"

Browse Popular Code Answers by Language