-
Notifications
You must be signed in to change notification settings - Fork 21
Mac & Linux Install
Simon Ninon edited this page Feb 14, 2018
·
6 revisions
This library currently uses C++11.
It has the following depencies:
- C++ Requests built by ourselves
- JSON For Modern C++ built by ourselves
- Keccak Code Package built by ourselves
The library is based on cmake for the compilation. In order to build the library, follow these steps:
# Clone the project
git clone --recursive https://github.com/thibault-martinez/iota.lib.cpp.git
# Go inside the project directory
cd iota.lib.cpp
# Get dependencies submodule
git submodule updat --init
# Create a build directory and move into it
mkdir build && cd build
# Generate the Makefile using CMake
cmake .. -DCMAKE_BUILD_TYPE=Release
# Build the library
make
# Install the library
make installThen, you just have to include <iota/iota> in your source files and link the iota library with your project.
Please refer to this page of the wiki.
Need more information? Open an issue.