Can I compile Godot without VS

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kevin
:warning: Old Version Published before Godot 3 was released.

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 ?

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

Zylann | 2016-11-28 10:16

Can you show me the MSVC download link ?

Kevin | 2016-11-28 11:41

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

Zylann | 2016-11-28 13:30

It works ! Thank you my friends !

Kevin | 2016-11-28 15:57

:bust_in_silhouette: Reply From: Akien

You should try mingw-w64 instead of mingw32, the latter lacks the proper Windows headers, see Godot will not compile due to an error · Issue #6227 · godotengine/godot · GitHub

Hhhh, it works, Thank you !

Kevin | 2016-11-28 15:58