Skip to content

InziderX/INX-MASTER

Repository files navigation

Building INX
------------------------------------------------------------

----> On LINUX 16.04 <-----
--------------------------------------------------------------

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 BUID INX FROM SOURCE CODE use the below commands - The resulting executables can be found in build/release/src.*******

$ sudo apt-get update
$ sudo apt-get install build-essential gcc g++ git cmake libboost-all-dev git

$ git clone https://github.com/inziderX/INX-MASTER.git
$ cd INX

RUN THIS COMMAND 
$ 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.
Good luck!