#Weird pthread link error
21 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
They're hard to read and prevent copying and pasting.
yeah
show link command?
Don't see -pthread in there
find_package(Threads REQUIRED)
target_link_libraries(whatever PRIVATE Threads::Threads)
is how you do it portably in cmake
doing that
i started getting this error since today morning
after a full system update and a restart
if that could have anything to do with this
Did you try rebuilding everything?
yeah multiple times
could rebuilding gcc fix this?
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
🤷
it seems the function it's talking about is actually in libc