codeblock+ mingw pthread TIMESPEC重新定义错误(Timespec redefinition error)

如果报找不到pthread.h 需要ftp://sourceware.org/pub/pthreads-win32/dll-latest/lib/x86 放到lib include 或者在mingw installer 里面安装pthread

 

在setting 里面 #define HAVE_STRUCT_TIMESPEC

posted on 2019-08-04 10:32  五人月饼  阅读(210)  评论(0)    收藏  举报

导航