无法解析的外部符号 __imp__pthread_create,该符号在函数 _main 中被引用

在使用pthread.h头文件时,出现无法解析的外部符号这一错误,需要在开头加入如下代码:

#pragma comment(lib, "pthreadVC2.lib")

おすすめ

転載: blog.csdn.net/qq_43511299/article/details/119545631
おすすめ