diff --git a/development/compiling/compiling_for_windows.rst b/development/compiling/compiling_for_windows.rst index b03217c92..15cc42b26 100644 --- a/development/compiling/compiling_for_windows.rst +++ b/development/compiling/compiling_for_windows.rst @@ -17,8 +17,9 @@ For compiling under Windows, the following is required: - `MinGW-w64 `__ with GCC can be used as an alternative to Visual Studio. Be sure to install/configure it to use the ``posix`` thread model. - `Python 3.5+ `_. -- `SCons 3.0 `_ build system. If using Visual Studio 2019, - you need at least SCons 3.1.1. + **Make sure to enable the option to add Python to the ``PATH`` in the installer.** +- `SCons `_ build system. Using the latest release is + recommended, especially for proper support of recent Visual Studio releases. .. note:: If you have `Scoop `_ installed, you can easily install MinGW and other dependencies using the following command:: @@ -40,13 +41,6 @@ For compiling under Windows, the following is required: For a general overview of SCons usage for Godot, see :ref:`doc_introduction_to_the_buildsystem`. -Setting up Python ------------------ - -First you need to install Python 3.5 or newer. Make sure to enable the option -to add Python to the ``PATH`` in the Python installer. The SCons installer -should then detect and use the existing Python installation. - Setting up SCons ---------------- @@ -69,6 +63,10 @@ environment variable after installing it, then check again. You can do so by running the Python installer again and enabling the option to add Python to the ``PATH``. +If SCons cannot detect your Visual Studio installation, it might be that your +SCons version is too old. Update it to the latest version with +``python -m pip install --upgrade scons``. + .. _doc_compiling_for_windows_install_vs: Installing Visual Studio caveats