Thanks for your response.
The easiest way to get your dependencies in order seems to be to just use the visual studio installer, and modify the installed packages.
If you install the “Desktop Development with C++” and “Game development with C++” package, you should have all?/most of the dependencies you need to run scons for godot correctly.
In theory, that doesn’t look like the ‘easiest way’, because I don’t have a clue what ‘modify the installed packages’ means in practice, and I don’t have a mental picture of what modifications would be required, and how much time would be required.
The Godot documentation reads:
Building from source
Godot prides itself on being very easy to build, by C++ projects’ standards. Godot uses the SCons build system, and after the initial setup compiling the engine for your current platform should be as easy as running:
Development in Visual Studio¶
Using an IDE is not required to compile Godot, as SCons takes care of everything. But if you intend to do engine development or debugging of the engine’s C++ code, you may be interested in configuring a code editor or an IDE.
Folder-based editors don’t require any particular setup to start working with Godot’s codebase. To edit projects with Visual Studio they need to be set up as a solution.
You can create a Visual Studio solution via SCons by running SCons with the
vsproj=yes
parameter, like this:
scons p=windows vsproj=yes
You will be able to open Godot’s source in a Visual Studio solution now, and able to build Godot using Visual Studio’s Build button.
The GameFromScratch guy gave an example, on Godot and Visual Studio, and that was simply opening a Visual Studio command prompt, which helped me out, and running SCons.
I understand persons may have their own workarounds that works for them, and yours might actually work, so I appreciate that, thanks.
However, my vision is totally blank on what ‘modify the installed packages’ looks like, and there is no documentation to work with.
You also need scons installed and I think python 3.9.
It works with version 3.7
Also, the first time compiling it takes a long time.
Have you tried that?
I left it running, while I slept, and woke up to this. Twice.
[Initial build] ←[0;94mCompiling ←[1;94mdrivers\coremidi\midi_driver_coremidi.cp
p←[0;94m ...←[0m
drivers\wasapi\audio_driver_wasapi.cpp(106): error C2065: 'IAudioClient3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(106): error C2737: 'IID_IAudioClient3': const object must be initialized
drivers\wasapi\audio_driver_wasapi.cpp(322): error C2065: 'IAudioClient3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(322): error C2059: syntax error: ')'
drivers\wasapi\audio_driver_wasapi.cpp(405): error C2065: 'IAudioClient3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(405): error C2065: 'device_audio_client_3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(405): error C2065: 'IAudioClient3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(405): error C2059: syntax error: ')'
drivers\wasapi\audio_driver_wasapi.cpp(413): error C2065: 'device_audio_client_3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(440): error C2065: 'device_audio_client_3': undeclared identifier
drivers\wasapi\audio_driver_wasapi.cpp(449): error C2065: 'device_audio_client_3': undeclared identifier
scons: *** [drivers\wasapi\audio_driver_wasapi.windows.editor.dev.x86_64.obj] Error 2
midi_driver_coremidi.cpp
scons: building terminated because of errors.
[Time elapsed: 01:00:25.859]
These are same errors, I came to these forums to get help with, 4 days ago.
Errors Using SCons to Create a VS Solution