godot icon indicating copy to clipboard operation
godot copied to clipboard

Godot will not compile due to an error

Open NullNeska opened this issue 10 years ago • 3 comments

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):

NullNeska avatar Aug 21 '16 13:08 NullNeska

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.

manokara avatar Aug 21 '16 15:08 manokara

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 avatar Aug 21 '16 16:08 reduz

@reduz how would i go about using mingw-w64?

NullNeska avatar Aug 21 '16 23:08 NullNeska