Project

General

Profile

BuildAnubisFromSourcesWindow710 » History » Revision 10

Revision 9 (Jérémy Larrieu, 12/30/2019 09:08 PM) → Revision 10/22 (Jérémy Larrieu, 12/30/2019 09:11 PM)

h1. BuildAnubisFromSourcesWindow710 

 h2. Requirements 

 First of all, you'll need to install these requirements: 
 * MSYS2 
 * Python 3.8 
 * SCons 

 h3. MSYS2 installation. 

 Download MSYS2 installer on http://www.msys2.org/: 
 * 32bits installer for Windows 7/10 32bits 
 * 64bits installer for Windows 7/10 64bits 

 Install MSYS2 with the downloaded installer. 

 Run the *MSYS2 MinGW 32-bit* terminal and run this command to update your installation: 
 <pre> 
 pacman -Syuu 
 </pre> 

 Close the terminal and repeat the update process until there are no more update available. 

 h3. Python 3.8 installation 

 Download the Python 3.8 installer on http://www.python.org website and launch it to install it. 

 On first screen, you have to check the *Add Python 3.8 to PATH* checkbox 
 Select *Install Now* to launch installation. 
 It will be installed inside the user profile. It will be useful when using *pip*: it will not require launching terminal or commands in admin mode. 

 h3. Modify MSYS2 PATH environment variable 

 To be able to use *SCons*, *Python* or *pip* in MSYS2 terminal, you have to create the following environment variable: 
 *    Type: USER Variable 
 * Name: MSYS2_PATH_TYPE 
 * Value: inherit 

 h3. SCons installation. 

 Open the Mingw32 (32 bits) terminal. 
 To upgrade *pip* to latest version, launch this command: 
 <pre> 
 python -m pip install --upgrade pip 
 </pre> 

 To install *SCons*, a terminal (cmd) and launch this command: 
 <pre> 
 pip install scons 
 </pre>