Someone with more experience will likely chime in, but from that message, it used gcc rather than i586-mingw32msvc-gcc as the compiler. If that's the gcc targeting Linux (which would depend on what your path is), then that would explain why it couldn't find windows.h.
Is the mingw executable directory in your path?
Is the mingw executable directory in your path?
Comment