Answers for "undefined reference to `pthread_create' collect2: error: ld returned 1 exit status"

PHP
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' collect2: error: ld returned 1 exit status"

Browse Popular Code Answers by Language