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:
1
sudo apt-get install build-essential cmake git
Copied!

Building

    After installing dependencies run simple script:
1
git clone --recurse-submodules https://github.com/qwertycoin-org/qwertycoin
2
cd ./qwertycoin
3
mkdir ./build
4
cd ./build
5
cmake -DBUILD_ALL:BOOL=TRUE ..
6
cmake --build . --config Release
Copied!
    If all went well, it will complete successfully, and you will find all your binaries in the ./build/src directory.

Windows 10

Prerequisites

    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:
1
git clone https://github.com/qwertycoin-org/qwertycoin
2
cd qwertycoin
3
md build
4
cd build
5
cmake -G "Visual Studio 15 2017 Win64" -DBUILD_ALL:BOOL=TRUE ..
6
cmake --build . --config Release
Copied!
    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 the build directory. If you wish to open the project in Visual Studio with this, you can.

Apple macOS

Prerequisites

    Install Xcode and Developer Tools;
    Install CMake. See here if you are unable to call cmake from the terminal after installing;
    Install git.

Building

    After installing dependencies run simple script:
1
git clone https://github.com/qwertycoin-org/qwertycoin
2
cd ./qwertycoin
3
mkdir ./build
4
cd ./build
5
cmake -DBUILD_ALL:BOOL=TRUE ..
6
cmake --build . --config Release
Copied!
    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:
1
sudo apt-get install build-essential cmake git unzip wget
Copied!
    Download and extract Android NDK:
1
mkdir -p "$HOME/.android"
2
wget -O "$HOME/.android/android-ndk-r18b-linux-x86_64.zip" "https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip"
3
unzip -qq "$HOME/.android/android-ndk-r18b-linux-x86_64.zip" -d "$HOME/.android"
4
export ANDROID_NDK_r18b="$HOME/.android/android-ndk-r18b"
Copied!

Building

    After installing dependencies run simple script:
1
git clone https://github.com/qwertycoin-org/qwertycoin
2
cd ./qwertycoin
3
mkdir ./build
4
cd ./build
5
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" ..
6
cmake --build . --config Release
Copied!
    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:
1
sudo pkg install cmake git
Copied!

Building

    After installing dependencies run simple script:
1
git clone --recurse-submodules https://github.com/qwertycoin-org/qwertycoin
2
cd ./qwertycoin
3
mkdir ./build
4
cd ./build
5
cmake -DBUILD_ALL:BOOL=TRUE ..
6
cmake --build . --config Release
Copied!
    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.
1
# Copyright 2018-2019 (c) The Qwertycoin Group.
2
# Licensed under the GNU General Public License, Version 3.
3
# See the file LICENSE from this package for details.
Copied!
Last modified 1yr ago