Build instructions:
Install Visual Studio >= 2017 with CMake support.
Download and install Boost prebuilt binaries https://sourceforge.net/projects/boost/files/boost-binaries/1.68.0/boost_1_68_0-msvc-14.1-64.exe, also add BOOST_ROOT to the Environment Variables.
Download and install OpenSSL prebuilt binaries https://slproweb.com/products/Win32OpenSSL.html (Win64 OpenSSL v1.1.0h for example) and add OPENSSL_ROOT_DIR to the Environment Variables.
Download and install QT 5.11 http://download.qt.io/archive/qt/5.11/5.11.1/ and add QT5_ROOT_DIR to the Environment Variables (usually it looks like .../5.11.0/msvc2017_64), also add QML_IMPORT_PATH (it should look like %QT5_ROOT_DIR%\qml). BTW disabling system antivirus on Windows makes QT installing process much faster.
Add .../qt511/5.11.1/msvc2017_64/bin and .../boost_1_68_0/lib64-msvc-14.1 to the System Path. Open project folder in Visual Studio, select your target (Release-x64 for example, if you downloaded 64bit Boost and OpenSSL) and select CMake -> Build All.
Go to CMake -> Cache -> Open Cache Folder -> defis (you'll find binaries in grimm/..., wallet/..., ui/..., explorer/... subfolders).
Install gcc7 boost ssl packages.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 libboost-all-dev libssl-dev -y
Set it up so the symbolic links gcc, g++ point to the newer version:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
--slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --config gcc
gcc --version
g++ --version
Install latest CMake
wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
Add proper QT 5.11 repository depending on your system https://launchpad.net/~beineri (for example, choose Qt 5.10.1 for /opt Trusty if you have Ubuntu 14.04), install sudo apt-get install qt510declarative qt510svg packages and add export PATH=/opt/qt511/bin:$PATH. Go to defis project folder and call cmake -DCMAKE_BUILD_TYPE=Release . && make -j4. You'll find binaries in grimm/..., wallet/..., ui/..., explorer/... subfolders.
Install dependencies
sudo dnf install libtool make autoconf automake gettext
sudo dnf install gcc-c++ libstdc++-static cmake boost-devel
sudo dnf install openssl-devel zlib-devel
sudo dnf install qt5-qtbase-devel qt5-linguist qt5-qtsvg-devel qt5-qtwayland-devel Go to the defis project folder and start the release build export PATH=${PATH}:/usr/lib64/qt5/bin cmake -DCMAKE_BUILD_TYPE=Release . && make -j4 You'll find the the defis-node binary (node) in the grimm folder, defis-wallet (cli wallet) in the wallet folder and xgmwallet (GUI wallet) in the defis-wallet folder. At the moment step #2 can take a lot of time (a few hours) due to the bug in QT: QTBUG-27936. Use -DXGM_NO_QT_UI_WALLET=On to skip building the UI.
Install Brew Package Manager. Installed necessary packages using brew install openssl boost cmake command. Download and install QT5.11 from the official website https://download.qt.io/official_releases/qt/5.11/5.11.0/qt-opensource-mac-x64-5.11.0.dmg.mirrorlist Add export OPENSSL_ROOT_DIR="/usr/local/opt/openssl" and export PATH=/Users//Qt5.11.0/5.11.0/clang_64/bin:$PATH to the Environment Variables. Go to defis project folder and call cmake -DCMAKE_BUILD_TYPE=Release . && make -j4. You'll find binaries in grimm/..., wallet/..., ui/..., explorer/... subfolders. If you don't want to build UI don't install QT5 and add -DXGM_NO_QT_UI_WALLET=On command line parameter when you are calling cmake.