BuildAnubisFromSourcesWindow710 » History » Revision 11
Revision 10 (Jérémy Larrieu, 12/30/2019 09:11 PM) → Revision 11/22 (Jérémy Larrieu, 01/01/2020 09:41 AM)
h1. BuildAnubisFromSourcesWindow710 h2. Requirements First of all, you'll need to install these requirements: * MSYS2 * SCons Python 3.8 * make * gcc * g++ * libjpeg 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. Then, h3. Python 3.8 installation Download the Python 3.8 installer on http://www.python.org website and launch it to install *scons*, *make*, *gcc*, *g++* and *libjpeg*, 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> pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-i686-libjpeg-turbo python -m pip install --upgrade pip </pre> Press *Enter* key when it will ask to To install all packages in *base-devel* and *mingw-w64-i686-toolchain* groups. *SCons*, launch this command: Then, validate the installation. <pre> pip install scons </pre>