Browse Source

Installing Windows deps with MSYS2 (#2959)

YRTV 5 years ago
parent
commit
a4bf34e6e1
1 changed files with 11 additions and 0 deletions
  1. 11 0
      development/compiling/compiling_for_windows.rst

+ 11 - 0
development/compiling/compiling_for_windows.rst

@@ -25,6 +25,17 @@ For compiling under Windows, the following is required:
 
 
               scoop install gcc python scons make
               scoop install gcc python scons make
 
 
+.. note:: If you have `MSYS2 <https://www.msys2.org/>`_ 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
 .. seealso:: For a general overview of SCons usage for Godot, see
              :ref:`doc_introduction_to_the_buildsystem`.
              :ref:`doc_introduction_to_the_buildsystem`.