Getting Started

Getting the source code

You can download the latest stable released version, or you can get the latest source code version by cloning our git repository:

git clone https://github.com/Shapelets/Khiva

Dependencies

Khiva relies on a number of open source libraries and tools which are required to get it running.

Tools:

Note

All versions of Khiva Library require a fully C++11-compliant compiler.

Libraries:

Linux

We will use Ubuntu 16.04 LTS as our example linux distribution.

Once we have installed all Khiva dependencies, we are ready to build and install Khiva. First, go to the directory where the source code is stored.

mkdir build
cd build
cmake ..
make install

It will install the library in /usr/local/lib and /usr/local/include folders.

In case ArrayFire is not installed in the system default directories, it is also required to add the Arrayfire lib folder to the environment variable LD_LIBRARY_PATH.

export LD_LIBRARY_PATH="/pathToArrayfire/arrayfire/lib:$LD_LIBRARY_PATH"

Mac OS

Once we have installed all Khiva dependencies, we are ready to build and install Khiva. First, go to the directory where the source code is stored:

mkdir build
cd build
cmake ..
make install

It will install the library in /usr/local/lib and /usr/local/include folders.

Windows

First, we need to ensure the Graphviz, Dot and Doxygen binaries are included in the environment variable PATH. Once we have installed all Khiva dependencies, we are ready to build and install Khiva. So, go to the directory where the source code is stored and proceed as follows:

mkdir build
cd build
cmake ..
make install

It will install the library in C:/Program Files/Khiva/v0/lib and C:/Program Files/Khiva/v0/include folders.