Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | oob | |
Old Version | Published before Godot 3 was released. |
While compiling godot source code (2.12stable) using scons p=windows vsproj=yes
,I got
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
Actually there’s no problem to compile the source code (with scons p=windows
), just not work for the vsproj=yes
option,I want to create a Visual Studio solution.
So how?
(win7 32bit vs2017community)
Visual Studio 2017 is not supported in Godot yet. In the meantime, you can install the Visual C++ 2015 Build Tools which are smaller than the full Visual Studio IDE.
Calinou | 2017-03-19 11:38
Yes,tried with Visual C++ 2015 Build Tools I got a Visual Studio solution,but I still need vs2015 to properly open it.Anyway,thanks!
oob | 2017-03-19 14:34
python -m pip install scons
(be sure to check ‘add python to PATH’ when installing python 3.11+ for windows)
This works fine now with godot 3.5.1 if you run vcvars64.bat
or run inside the Command Prompt for VS2017
(C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
)
jpate | 2023-03-10 18:11