Godot will not compile due to an error
Operating system or device - Godot version: Windows 10 64bit, https://github.com/godotengine/godot/commit/61cb8fd76c78ce2d27b5738e84c773ae4ec284e1
Issue description (what happened, and what was expected): Build will fail due to: In file included from platofrm\windows\os_windows.cpp:54:0: platform\windows\joystick.h:35:20: fatal error: dinput.h: No such file or directory #include <dinput.h>
complilation terminated
should be noted that before the build starts i'm given the message MSVC not detected, attempting Mingw.
- gcc detected.
I was also able to build a few months back
Steps to reproduce: scons platform=windows
Link to minimal example project (optional but very welcome):
Well, it seems your MinGW install is missing the DirectX headers. Visual Studio's compiler (MSVC) was not found, but MinGW was. But the way you said it you have Visual Studio installed and it compiled fine before, right? A VS update may have changed something somewhere and scons can't find it anymore.
Use mingw-w64. Regular mingw is not supported
On Aug 21, 2016 12:57 PM, "manokara" [email protected] wrote:
Well, it seems your MinGW install is missing the DirectX headers. Visual Studio's compiler (MSVC) was not found, but MinGW was. But the way you said it you have Visual Studio installed and it compiled fine before, right? A VS update may have changed something somewhere and scons can't find it anymore.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/godotengine/godot/issues/6227#issuecomment-241265484, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-Z2zIPjlGnXK-ll1GUwvbQXL9RIs4vks5qiHVMgaJpZM4JpS2x .
@reduz how would i go about using mingw-w64?