首页 > 系统相关 >windows下mingw64编译darknet过程中遇到的错误记录下

windows下mingw64编译darknet过程中遇到的错误记录下

时间:2022-09-21 15:11:17浏览次数:84  
标签:name windows unknown darknet mingw64 go include type

./examples/go.c:787:5: error: unknown type name 'fd_set'; did you mean 'fpos_t'?

 

解决:

       go.c文件中添加头文件 #include <sys/select.h>

 

./include/darknet.h:781:5: error: unknown type name 'clock_t'; did you mean 'clockid_t'?

 

解决:

         darknet.h文件添加#include <time.h>

 

标签:name,windows,unknown,darknet,mingw64,go,include,type
From: https://www.cnblogs.com/zzc-Andy/p/16715630.html

相关文章