Compiling Daemon from Source
Linux
Prerequisites
You will need the following packages: build-essential, CMake (3.14 or higher) and git;
Most of these should already be installed on your system. For example on Ubuntu by running:
sudo apt-get install build-essential cmake git
Building
After installing dependencies run simple script:
git clone --recurse-submodules https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release
If all went well, it will complete successfully, and you will find all your binaries in the
./build/src
directory.
Windows 10
Prerequisites
Install Visual Studio 2017 Community Edition;
When installing Visual Studio, it is required that you install Desktop development with C++ and the VC++ v140 toolchain when selecting features. The option to install the v140 toolchain can be found by expanding the "Desktop development with C++" node on the right. You will need this for the project to build correctly;
Make sure that bundled CMake (3.14 or higher) or higher.
Building
From the start menu, open "x64 Native Tools Command Prompt for vs2017";
And the run the following commands:
git clone https://github.com/qwertycoin-org/qwertycoin
cd qwertycoin
md build
cd build
cmake -G "Visual Studio 15 2017 Win64" -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release
If all went well, it will complete successfully, and you will find all your binaries in the
.\build\src\Release
directory;Additionally, a
.sln
file will have been created in thebuild
directory. If you wish to open the project in Visual Studio with this, you can.
Apple macOS
Prerequisites
Install Xcode and Developer Tools;
Install git.
Building
After installing dependencies run simple script:
git clone https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release
If all went well, it will complete successfully, and you will find all your binaries in the
./build/src
directory.
Android
Prerequisites
You will need the following packages: build-essential, CMake (3.14 or higher), git, unzip and wget;
Most of these should already be installed on your system. For example on Ubuntu by running:
sudo apt-get install build-essential cmake git unzip wget
Download and extract Android NDK:
mkdir -p "$HOME/.android"
wget -O "$HOME/.android/android-ndk-r18b-linux-x86_64.zip" "https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip"
unzip -qq "$HOME/.android/android-ndk-r18b-linux-x86_64.zip" -d "$HOME/.android"
export ANDROID_NDK_r18b="$HOME/.android/android-ndk-r18b"
Building
After installing dependencies run simple script:
git clone https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/polly/android-ndk-r18b-api-21-x86-clang-libcxx.cmake -DBUILD_ALL:BOOL=TRUE -DBUILD_WITH_TESTS:BOOL=FALSE -DSTATIC=ON -DBUILD_64=OFF -DANDROID=true -DBUILD_TAG="android" ..
cmake --build . --config Release
If all went well, it will complete successfully, and you will find all your binaries in the
./build/src
directory.
FreeBSD
Prerequisites
You will need the following packages: CMake (3.14 or higher) and git;
Most of these should already be installed on your system. For example on FreeBSD by running:
sudo pkg install cmake git
Building
After installing dependencies run simple script:
git clone --recurse-submodules https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release
If all went well, it will complete successfully, and you will find all your binaries in the
./build/src
directory.
Thanks
Cryptonote Developers, Bytecoin Developers, Monero Developers, Karbo Developers, Qwertycoin Community
Copypasta for License when Editing Files
Hi Qwertycoin contributor, thanks for forking and sending back Pull Requests. Extensive docs about contributing are in the works or elsewhere. For now this is the bit we need to get into all the files we touch. Please add it to the top of the files, see src/config/CryptoNoteConfig.h for an example.
# Copyright 2018-2019 (c) The Qwertycoin Group.
# Licensed under the GNU General Public License, Version 3.
# See the file LICENSE from this package for details.
Last updated
Was this helpful?