+2 votes

Hi, guys
I want to compile Godot by myself, and it's easy to compile with VS,
but VS2015 is too heavy, I just want a light IDE, and I try to compiled with QtCreator with MinGW, but failed.

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "E:\ProgramFiles\Godot\godot-master\SConstruct", line 3, in <module>

MSVC not detected, attempting Mingw.
- gcc detected.
..........
platform\windows\joystick.h:35:20: fatal error: dinput.h: No such file or directory
 #include <dinput.h>
                             ^
compilation terminated.

Can I compile Godot without VS ?

in Engine by (86 points)

If you just want the choice of IDE, you can configure the VS compiler (MSVC) within QtCreator, it's easy and you don't have to use the Visual Studio IDE. I use that and it works great, I can compile and debug properly ;)

Can you show me the MSVC download link ?

It's shipped with the VS installer, I never considered installing the compiler only tbh. A quick search gave me this http://landinghub.visualstudio.com/visual-cpp-build-tools

It works ! Thank you my friends !

1 Answer

+2 votes
Best answer

You should try mingw-w64 instead of mingw32, the latter lacks the proper Windows headers, see https://github.com/godotengine/godot/issues/6227

by (1,945 points)
selected by

Hhhh, it works, Thank you !

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.