Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

bittorium/Bittorium

Repository files navigation

How To Compile

Ubuntu 16.04

Prerequisites
  • You will need the following packages: boost (1.55 or higher), rocksdb, cmake, git, gcc (4.9 or higher), g++ (4.9 or higher), make, and python. Most of these should already be installed on your system.
  • sudo apt-get -y install build-essential python-dev gcc g++ git cmake libboost-all-dev libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev
Building
  • git clone https://github.com/Bittorium/Bittorium.git
  • cd Bittorium
  • rm -rf build; mkdir -p build/release; cd build/release
  • cmake -D STATIC=ON -D ARCH="default" -D CMAKE_BUILD_TYPE=Release ../..
  • PORTABLE=1 make

Apple

Prerequisites
  • Install cmake. See here if you are unable call cmake from the terminal after installing.
  • Install the boost libraries. Either compile boost manually or run brew install boost.
  • Install XCode and Developer Tools.
Building
  • git clone https://github.com/bittorium/Bittorium.git
  • cd Bittorium
  • rm -rf build; mkdir -p build/release; cd build/release
  • cmake .. or cmake -DBOOST_ROOT=<path_to_boost_install> .. when building from a specific boost install. If you used brew to install boost, your path is most likely /usr/local/include/boost.
  • make

The binaries will be in ./src after compilation is complete.

Run ./src/Bittoriumd to connect to the network and let it sync (it may take a while).

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++ v150 toolchain when selecting features. The option to install the v150 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.
  • Install Boost 1.64.0, ensuring you download the installer for MSVC 15.
Building
  • From the start menu, open 'x64 Native Tools Command Prompt for vs2017'.
  • cd <your_Bittorium_directory>
  • mkdir build
  • cd build
  • Set the PATH variable for cmake: ie. set PATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin";%PATH%
  • `cmake.exe -DBOOST_ROOT=C:\boost_1_64_0 -DBOOST_LIBRARYDIR=C:\boost_1_64_0\libs -G "Visual Studio 15 Win64" C:...\Bittorium
  • `Open Bittorium.sln in "Visual Studio" and compile the binaries
  • 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.

Thanks

Cryptonote Developers, Bytecoin Developers, Monero Developers, TurtleCoin Developers, Forknote Project, PinkstarcoinV2 Developers, Bittorium Developers. "# Bittorium"

Donate

Donate to our project and help us achieve more for you!
Our BTC Address: 326LiKxxdm9tJ2KPGG353PvfgiyNpYNoQ3