原文:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

解決方法 在QT工程的.pro文件中添加如下內容: LIBS ldl ...

2019-08-21 11:07 0 1211 推薦指數:

查看詳情

undefined reference to symbol' pthread_create@@GLIBC_2.2.5'

我在ubuntu16.04上遷移工程,遇到了這個錯誤。 pthread庫不是Linux系統默認的庫,鏈接時需要添加-pthread參數。 這里注意是鏈接那一步添加-pthread,而不是編譯選項。 ...

Sat Oct 13 03:28:00 CST 2018 0 2393
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM