Skip to content

getazur/azur

Repository files navigation

AZUR SOURCE CODE

LINUX

https://github.com/getazur/azur/releases/download/v1.0/linux-cli.tar.gz

Prerequisites

BOOST CMAKE MAKE GIT GCC

Install Prerequisites

Install Prerequisites with script

git clone https://github.com/getazur/azur.git && cd azur && chmod +x dep-linux.sh
./dep-linux.sh

Install Prerequisites without script

  • sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  • sudo apt-get update
  • sudo apt-get install aptitude -y
  • sudo aptitude install -y build-essential g++-8 gcc-8 git libboost-all-dev python-pip
  • sudo pip install cmake
  • export CC=gcc-8
  • export CXX=g++-8
  • git clone https://github.com/getazur/azur.git & cd azur & mkdir build

Build

cd build
cmake ..
make

Folder

cd src

OSX/Apple, using GCC

Prerequisites
  • Install XCode and Developer Tools.
Building
  • which brew || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew install --force cmake boost llvm gcc@8
  • export CC=gcc-8
  • export CXX=g++-8
  • git clone -b master --single-branch https://github.com/getazur/azur
  • cd azur
  • mkdir build
  • cd build
  • cmake ..
  • make

The binaries will be in the src folder when you are complete.

  • cd src
  • ./azurd --version

OSX/Apple, using Clang

Prerequisites
  • Install XCode and Developer Tools.
Building
  • which brew || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew install --force cmake boost llvm
  • export CC=/usr/local/opt/llvm/bin/clang
  • export CXX=/usr/local/opt/llvm/bin/clang++
  • git clone -b master --single-branch https://github.com/getazur/azur
  • cd azur
  • mkdir build
  • cd build
  • cmake ..
  • make

The binaries will be in the src folder when you are complete.

  • cd src
  • ./azurd --version

Windows

Prerequisites
Building
  • From the start menu, open 'x64 Native Tools Command Prompt for vs2017'.
  • cd <your_azur_directory>
  • mkdir build
  • cd build
  • set PATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin";%PATH%
  • cmake -G "Visual Studio 15 2017 Win64" .. -DBOOST_ROOT=C:/local/boost_1_68_0

If you have errors on this step about not being able to find the following static libraries, you may need to update your cmake. Open 'Visual Studio Installer' and click 'Update'.

  • MSBuild azur.sln /p:Configuration=Release /m

The binaries will be in the src/Release folder when you are complete.

  • cd src
  • cd Release
  • azurd.exe --version

Raspberry Pi 3 B+

The following images are known to work. Your operation system image MUST be 64 bit.

Known working images

Once you have a 64 bit image installed, setup proceeds the same as any Linux distribution. Ensure you have at least 2GB of ram, or the build is likely to fail. You may need to setup swap space.

Building
  • git clone -b master --single-branch https://github.com/azur/azur
  • cd azur
  • mkdir build
  • cd build
  • cmake ..
  • make

The binaries will be in the src folder when you are complete.

  • cd src
  • ./azurd --version

Thanks

// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2014-2018, The Monero Project
// Copyright (c) 2018-2019, The AZUR Developers, The TurtleCoin Developers

// Please see the included LICENSE file for more information.