Skip to content
Snippets Groups Projects
README.md 3.88 KiB

dynamic-graph-python

Building Status Pipeline status Coverage report

Python bindings for dynamic-graph.

Warning: this repository contains [Git submodules][git-submodules]. Please clone this repository using the git clone --recursive command. If you already have cloned the repository, you can run git submodule init && git submodule update to retrieve the submodules.

Documentation

To get started with this library, please read the [online Doxygen documentation][doxygen-documentation].

It can also be generated locally by running the make doc command. After the package is installed, the documentation will be located in the $prefix/share/doc/dynamic-graph directoy where $prefix is your installation prefix (/usr/local by default).

Getting Help

Support is provided through:

How can I install dynamic-graph?

Installing dependencies

The matrix abstract layer depends on several packages which have to be available on your machine.

  • Libraries:
    • [Boost][] (>= 1.40) Its detection is controled by the BOOST_ROOT variable, see next section for more information.
    • [Lapack][] library Use the generic purpose CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS to insert the flags required for the compiler to find your Lapack library if it is installed in a non-standard directory.
    • [jrl-mal][] library
    • [dynamic-graph][] library
  • System tools:
    • [CMake][] (>=2.6)
    • [pkg-config][]
    • usual compilation tools (GCC/G++, make, etc.) If you are using Ubuntu, these tools are gathered in the build-essential package.

Compiling and installing the package

The manual compilation requires two steps:

  1. configuration of the build and generation of the build files
  2. compilation of the sources and installation of the package

dynamic-graph uses [CMake][] to generate build files. It is recommended to create a separate build directory:

mkdir _build         # (1) Create a build directory
cd _build            # (2) Go to the newly created build directory
cmake [options] ..   # (3) Generate the build files

Options which can be passed to CMake are detailed in the next section.