Linux學習筆記(十九) -- Code::Blocks編譯程序,出現undefined reference to pthread_create@@GLIBC2.2.5錯誤的解決方案

1.錯誤內容 錯誤描述 利用Code::Blocks進行編寫多線程程序時,編譯提示錯誤: undefined reference to pthread_create@@GLIBC2.2.5 錯誤截圖: web 2.解決方案 1.選擇」Settings」菜單項中的」Compiler…」命令,打開設置窗口。在」Comiler stttings」-「Other compiler options」中,添加
相關文章
相關標籤/搜索