SurfReg icon indicating copy to clipboard operation
SurfReg copied to clipboard

Compile error

Open canglangzhige opened this issue 5 years ago • 1 comments

Do I have to use 1.7, is it ok with 1.10? I get an error during make: /usr/bin/ld: CMakeFiles/SurfReg.dir/SurfReg.cpp.o: undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line How can this be resolved?

canglangzhige avatar Mar 27 '20 09:03 canglangzhige

add -lpthread to CMAKE_CXX_FLAGS

jianxiapyh avatar May 21 '22 20:05 jianxiapyh