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 後來想起來本身在程序中用到了
相關文章
相關標籤/搜索