Skip to content

XsuByte/blockchain

Repository files navigation

-= Building xsubyte blockchain =-

On *nix:

Dependencies: GCC 4.7.3 or later, CMake 2.8.6 or later, and Boost 1.55.
You may download them from:
http://gcc.gnu.org/
http://www.cmake.org/
http://www.boost.org/
Alternatively, it may be possible to install them using a package manager.

To build xsubyte from source code use the below commands, The resulting executables can be found in build/release/src.

sudo apt-get update
sudo apt-get -y git install build-essential gcc g++ git cmake libboost-all-dev
git clone https://github.com/XsuByte/blockchain.git
cd blockchain
chmod +x external/rocksdb/build_tools/build_detect_platform
chmod +x external/rocksdb/build_tools/version.sh
export CXXFLAGS="-std=gnu++11"
export CXXFLAGS="-std=c++11"
make
(optinal you can run make -j 6 )

Advanced options:
Parallel build: run `make -j<number of threads>' instead of `make'.
Debug build: run `make build-debug'.
Test suite: run `make test-release' to run tests in addition to building. Running `make test-debug' will do the same to the debug version.
Building with Clang: it may be possible to use Clang instead of GCC, but this may not work everywhere. To build, run `export CC=clang CXX=clang++' before running `make'.

On Windows:
Dependencies: MSVC 2013 or later, CMake 2.8.6 or later, and Boost 1.66. You may download them from:
http://www.microsoft.com/
http://www.cmake.org/
http://www.boost.org/

To build, change to a directory where this file is located, and run this commands: 
mkdir build
cd build
cmake -G "Visual Studio 15 Win64" ..

And then do Build. 

About

XsuByte Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published