Closed abma closed 2 years ago
https://buildbot.springrts.com/#/builders/5/builds/41/steps/8/logs/stdio
FAILED: AI/Skirmish/CircuitAI/CMakeFiles/CircuitAI.dir/src/lib/angelscript/add_on/scriptfile/scriptfilesystem.cpp.obj /home/jtoledano/mxe/usr/bin/x86_64-w64-mingw32.static.posix-g++ -DASIO_STANDALONE -DAVI_CAPTURING -DBUILDING_AI -DBUILDING_SKIRMISH_AI -DCircuitAI_EXPORTS -DSPRING_DATADIR=\"\" -DSYNCCHECK -DTHREADPOOL -D_GLIBCXX_USE_NANOSLEEP -D_GNU_SOURCE=1 -D_RANDOM_TCC -D_REENTRANT -D_WIN32_WINNT=0x502 -D__USE_MINGW_ANSI_STDIO=1 -I../../AI/Skirmish/CircuitAI/src/circuit -I../../AI/Skirmish/CircuitAI/src/lib/angelscript/include -I../../AI/Skirmish/CircuitAI/src/lib -I/home/jtoledano/mingwlibs64/include/SDL2 -IAI/Wrappers/Cpp/src-generated -I../../AI/Wrappers/Cpp/src -I/home/jtoledano/mingwlibs64/include -I../../rts/lib/mingw-std-threads -I../../rts -Isrc-generated/engine -I../../rts/ExternalAI/Interface -I../../AI/Wrappers -std=c++17 -march=x86-64 -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -O2 -Wformat -Wformat-security -DNDEBUG -g -Wall -MD -MT AI/Skirmish/CircuitAI/CMakeFiles/CircuitAI.dir/src/lib/angelscript/add_on/scriptfile/scriptfilesystem.cpp.obj -MF AI/Skirmish/CircuitAI/CMakeFiles/CircuitAI.dir/src/lib/angelscript/add_on/scriptfile/scriptfilesystem.cpp.obj.d -o AI/Skirmish/CircuitAI/CMakeFiles/CircuitAI.dir/src/lib/angelscript/add_on/scriptfile/scriptfilesystem.cpp.obj -c ../../AI/Skirmish/CircuitAI/src/lib/angelscript/add_on/scriptfile/scriptfilesystem.cpp ../../AI/Skirmish/CircuitAI/src/lib/angelscript/add_on/scriptfile/scriptfilesystem.cpp:5:10: fatal error: Windows.h: No such file or directory 5 | #include <Windows.h> // FindFirstFile, GetFileAttributes | ^~~~~~~~~~~ compilation terminated.
i guess this line should be
#include <windows.h>
sorry, the submodule wasn't up to date. fixed by updating:
https://github.com/spring/spring/commit/3f5b44a9eee22a3e5ac2bd2f3216e836623cf22b
https://buildbot.springrts.com/#/builders/5/builds/41/steps/8/logs/stdio
i guess this line should be
#include <windows.h>