mp3guy/SurfReg

Compile error

canglangzhige opened this issue · 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?

add -lpthread to CMAKE_CXX_FLAGS