windows下QT配置pthread,解决main.obj:-1: error: LNK2019: 无法解析的外部符号 __imp_pthread_create,该符号在函数 main 中被引用

QT中使用msvc2017_64编译时,本来不支持pthread。但是又想用pthread来写程序,就在网上各种查找办法,不过好像都不太可以,会报错: main.obj:-1: error: LNK2019: 无法解析的外部符号 __imp_pthread_create,该符号在函数 main 中被引用 尝试了好久。。。 说下我最终的操作吧。 下载pthreads ftp://sourceware
相关文章
相关标签/搜索