| Component / Version | Recommended | Most Recent Ever Tested |
|---|---|---|
| Linux Ver. | 18.04 | 20.04 |
| gcc (Linux) | 7.4.0 | 8.3.0 |
| llvm/clang (Linux) | 7.0.1 | 8.0.0 |
| MSVC (Windows) | 2017 (15.9.0) | 2019 |
| XCode (macOS) | 12.3 | 12.3 |
| CMake | 3.15.5 | 3.20 |
| Boost | 1.70 | 1.76 |
| Qt (only for GUI) | 5.11.2 | 5.15.2 |
Note:
[server version] denotes steps required for building command-line tools (daemon, simplewallet).
[GUI version] denotes steps required for building Evox executable with GUI.
Recommended OS version: Ubuntu 20.04 LTS.
-
Prerequisites
[server version]
sudo apt-get install -y build-essential g++ python3-dev autotools-dev libicu-dev libbz2-dev cmake git screen[GUI version]
sudo apt-get install -y build-essential g++ python3-dev autotools-dev libicu-dev libbz2-dev cmake git screen mesa-common-dev libglu1-mesa-dev -
Download and build Boost
wget https://boostorg.jfrog.io/artifactory/main/release/1.70.0/source/boost_1_70_0.tar.bz2 tar -xjf boost_1_70_0.tar.bz2 cd boost_1_70_0 ./bootstrap.sh --with-libraries=system,filesystem,thread,date_time,chrono,regex,serialization,atomic,program_options,locale,timer ./b2 -
Install Qt\
(GUI version only, skip this step if you're building server version)
[GUI version]
wget https://download.qt.io/new_archive/qt/5.11/5.11.2/qt-opensource-linux-x64-5.11.2.run chmod +x qt-opensource-linux-x64-5.11.2.run ./qt-opensource-linux-x64-5.11.2.runThen follow the instructions in Wizard. Don't forget to tick the 2 checkbox!
-
Set environment variables properly\
For instance, by adding the following lines to
~/.bashrc[server version]
export BOOST_ROOT=/home/user/boost_1_70_0[GUI version]
export BOOST_ROOT=/home/user/boost_1_70_0 export QT_PREFIX_PATH=/home/user/Qt5.11.2/5.11.2/gcc_64 -
Cloning
Be sure to clone the repository properly:\
git clone --recursive https://github.com/evolution-project/evolution.git -
Building binaries
-
Building daemon and simplewallet:
cd evox && mkdir build && cd build cmake .. make -j1 daemon simplewalletNOTICE: If you are building on a machine with a relatively high amount of RAM or with the proper setting of virtual memory, then you can use
-j2or-joption to speed up the building process. Use with caution.NOTICE 2: If you'd like to build binaries for the testnet, use
cmake -D TESTNET=TRUE ..instead ofcmake ... -
Building GUI:
cd evox utils/build_script_linux.sh
-
-
Look for the binaries in
buildfolder
Recommended OS version: Windows 7 x64.
- Install required prerequisites (Boost, Qt, CMake).
- Edit paths in
utils/configure_local_paths.cmd. - Run
utils/configure_win64_msvs2015_gui.cmdorutils/configure_win64_msvs2017_gui.cmdaccording to your MSVC version. - Go to the build folder and open generated Zano.sln in MSVC.
- Build.
In order to correctly deploy Qt GUI application, you also need to do the following:
- Copy Evox.exe to a folder (e.g.
depoy). - Run
PATH_TO_QT\bin\windeployqt.exe deploy\Evox.exe. - Copy folder
\src\gui\qt-daemon\htmltodeploy\html. - Now you can run
Evox.exe