Cross compiling to ming windows on linux

I’m trying to cross compile with Ming
I im trying this command
haxelib run lime rebuild windows -Dmingw -clean

I have this error

Error: In file included from ./src/media/containers/WAV.cpp:2:0:
include/system/System.h:127:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^~~~~
In file included from ./src/media/containers/WAV.cpp:2:0:
include/system/System.h:230:0: warning: "INT8_MIN" redefined
 #define INT8_MIN     ((int8_t)_I8_MIN)
 
In file included from /usr/lib/gcc/i686-w64-mingw32/7.3-win32/include/stdint.h:9:0,
                 from include/hl.h:152,
                 from include/system/CFFI.h:6,
                 from include/media/AudioBuffer.h:5,
                 from include/media/containers/WAV.h:5,
                 from ./src/media/containers/WAV.cpp:1:
/usr/share/mingw-w64/include/stdint.h:76:0: note: this is the location of the previous definition
 #define INT8_MIN (-128)
 
In file included from ./src/media/containers/WAV.cpp:2:0:
include/system/System.h:231:0: warning: "INT8_MAX" redefined
 #define INT8_MAX     _I8_MAX
 
In file included from /usr/lib/gcc/i686-w64-mingw32/7.3-win32/include/stdint.h:9:0,
                 from include/hl.h:152,
                 from include/system/CFFI.h:6,
                 from include/media/AudioBuffer.h:5,
                 from include/media/containers/WAV.h:5,
                 from ./src/media/containers/WAV.cpp:1:
/usr/share/mingw-w64/include/stdint.h:81:0: note: this is the location of the previous definition
 #define INT8_MAX 127