From a4bf34e6e1c81988fe0c4dc5fa0b7654a793ac40 Mon Sep 17 00:00:00 2001 From: YRTV Date: Tue, 3 Dec 2019 12:21:09 +0300 Subject: [PATCH] Installing Windows deps with MSYS2 (#2959) --- development/compiling/compiling_for_windows.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/development/compiling/compiling_for_windows.rst b/development/compiling/compiling_for_windows.rst index 2b458050d..8d59b42de 100644 --- a/development/compiling/compiling_for_windows.rst +++ b/development/compiling/compiling_for_windows.rst @@ -25,6 +25,17 @@ For compiling under Windows, the following is required: scoop install gcc python scons make +.. note:: If you have `MSYS2 `_ installed, you can easily + install MinGW and other dependencies using the following command:: + + pacman -S mingw-w64-x86_64-python3-pip \ + mingw-w64-x86_64-gcc mingw-w64-x86_64-yasm \ + mingw-w64-i686-python3-pip mingw-w64-i686-gcc \ + mingw-w64-i686-yasm make + + For each MSYS2 MinGW subsystem, you should then run + ``pip install scons`` in its shell. + .. seealso:: For a general overview of SCons usage for Godot, see :ref:`doc_introduction_to_the_buildsystem`.