BuildAnubisFromSourcesWindow710
Version 15 (Jérémy Larrieu, 01/04/2020 05:02 PM) → Version 16/22 (Jérémy Larrieu, 01/07/2020 12:50 PM)
h1. BuildAnubisFromSourcesWindow710
h2. Requirements
First of all, you'll need to install these requirements:
* MSYS2
* SCons
* make
* gcc
* g++
* libjpeg
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-bits* 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, to install *scons*, *make*, *gcc*, *g++* and *libjpeg*, launch this command:
<pre>
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-i686-libjpeg-turbo
</pre>
Press *Enter* key when it will ask to install all packages in *base-devel* and *mingw-w64-i686-toolchain* groups.
Then, validate the installation.
h2. Get Anubis sources
Clone repo from http://gitlab.anubis-lang.com/anubis/anubis.git and checkout ANUBIS_1_14 branch.
h2. Compile Anubis sources
To compile Anubis compiler, goto folder anubis_dev > compiler and execute the following command:
<pre>
scons
</pre>
To compile Anubis vm, go to folder anubis_dev > vm and execute the following command:
<pre>
scons
</pre>
h2. Install Anubis
h2. Customize Anubis vm compilation (SSL, ...)
h2. Common errors
<pre>
ValueError : unsupported pickle protocol: 5 => delete .sconsign.dblite file and run scons again
</pre>
h2. Requirements
First of all, you'll need to install these requirements:
* MSYS2
* SCons
* make
* gcc
* g++
* libjpeg
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-bits* 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, to install *scons*, *make*, *gcc*, *g++* and *libjpeg*, launch this command:
<pre>
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-i686-libjpeg-turbo
</pre>
Press *Enter* key when it will ask to install all packages in *base-devel* and *mingw-w64-i686-toolchain* groups.
Then, validate the installation.
h2. Get Anubis sources
Clone repo from http://gitlab.anubis-lang.com/anubis/anubis.git and checkout ANUBIS_1_14 branch.
h2. Compile Anubis sources
To compile Anubis compiler, goto folder anubis_dev > compiler and execute the following command:
<pre>
scons
</pre>
To compile Anubis vm, go to folder anubis_dev > vm and execute the following command:
<pre>
scons
</pre>
h2. Install Anubis
h2. Customize Anubis vm compilation (SSL, ...)
h2. Common errors
<pre>
ValueError : unsupported pickle protocol: 5 => delete .sconsign.dblite file and run scons again
</pre>