codeblock 中出现 undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'错误 解决方法

在程序中没有用到pthread,可是在编译的时候出现了如下错误: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line 后来想起来本身在程序中用到了
相关文章
相关标签/搜索