You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello im having the following issue when trying to build on windows, any idea what the issue might be?
C:\Users\uia77586\Desktop\WebUi\webui>mingw32-make
process_begin: CreateProcess(NULL, uname, ...) failed.
process_begin: CreateProcess(NULL, uname, ...) failed.
process_begin: CreateProcess(NULL, uname, ...) failed.
"Build WebUI library (gcc release static)..."
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:711:8: error: redefinition of 'struct timespec'
struct timespec {
^~~~~~~~
In file included from C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:534:0:
c:\mingw\include\time.h:115:8: note: originally defined here
struct timespec
^~~~~~~~
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:987:1: error: static declaration of 'timegm' follows non-static declaration
timegm(struct tm *tm)
^~~~~~
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:671:8: note: previous declaration of 'timegm' was here
time_t timegm(struct tm *tm);
^~~~~~
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c: In function 'mg_read_inner':
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:6635:23: error: 'INT_MAX' undeclared (first use in this function)
(int64_t)((len > INT_MAX) ? INT_MAX : len); /* since the return value is
^~~~~~~
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:6635:23: note: each undeclared identifier is reported only once for each function it appears in
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c: In function 'mg_read':
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:6753:12: error: 'INT_MAX' undeclared (first use in this function)
if (len > INT_MAX) {
^~~~~~~
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c: In function 'mg_write':
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:6924:12: error: 'INT_MAX' undeclared (first use in this function)
if (len > INT_MAX) {
^~~~~~~
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c: In function 'set_ports_option':
C:/Users/uia77586/Desktop/WebUi/webui//src/civetweb/civetweb.c:16244:29: error: 'INT_MAX' undeclared (first use in this function)
if ((opt_listen_backlog > INT_MAX) || (opt_listen_backlog < 1)) {
^~~~~~~
GNUmakefile:139: recipe for target '--release' failed
mingw32-make: *** [--release] Error 1```
The text was updated successfully, but these errors were encountered:
Hello im having the following issue when trying to build on windows, any idea what the issue might be?
The text was updated successfully, but these errors were encountered: