Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
undefined reference to `pthread_create' c++
user51358
Programming language:
C++
2021-04-13 23:00:43
2
Q:
undefined reference to `pthread_create' c++
porloscerros Ψ
Code:
C++
2021-01-28 15:33:08
add_compile_options(-pthread)
2
AmirHosein Adavoudi
Code:
C++
2021-04-01 20:24:51
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
1
Tags
create
Related
how to pass an object by reference in c++
passing reference in c++
C++ const_cast
pass by reference c++
declare nullptr c++
static_cast c++
empty string c++ value
reference function in c++
call by reference c++ example
include guard c++
empty string in c++
references in c++
New to Communities?
Join the community