-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
when trying to build the following compilation error is received
HackRF_Streaming.cpp :(. Text + 0x1c4b): undefined reference to 'pthread_cond_clockwait ' /usr/bin/ld: HackRF_Streaming.cpp :(. text + 0x1d25): undefined reference to 'pthread_cond_clockwait ' collect2: error: ld returned exit status 1 make [2]: *** [CMakeFiles/HackRFSupport.dir/build.make: 166: libHackRFSupport.so] Error 1 make [1]: *** [CMakeFiles/Makefile2: 96: CMakeFiles/HackRFSupport.dir/all] Error 2
I solved it by editing lines 41 and 43 of CMakeLists.txt adding -lpthread
but surely this is not the best way to do it.
Metadata
Metadata
Assignees
Labels
No labels