See also
There are currently two ways to install the 0.11 version of RST:
In order to build RST, the following tools and libraries are required:
Install the RSC library (Explained as part of installing RSB).
The whole source tree of RST, including all sub-projects, can be obtained by executing the command:
$ git clone -b 0.11 --recursive https://code.cor-lab.org/git/rst.git.proto
After that, RST can be built and installed like this:
$ cd rst/rst-proto # after "git clone" command
$ mkdir -p build && cd build
$ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=PREFIX ..
$ make
$ make install
where PREFIX is the directory into which RST should be installed (which is sometimes called “install prefix”).
Note
During the cmake call a list of enabled language bindings will be printed. Please verify that the language you want to work with is included. If this is not the case, a warning should have been printed to the console before that indicates which dependenciy could not be found.
Example output:
-- Matlab not supported by protoc. Not generating matlab bindings.
-- Enabled features:
* cpp binding
* java binding
* python binding
In case you decided to install RST into a different prefix than RSC, you need to inform cmake where RSC can be found. This can be achieved by adding the following argument to the cmake call:
-DRSC_DIR=RSC_PREFIX/share/rsc
Optional: Install converters bundled with RST
$ cd rst/rst-converters/cpp # from same directory as "git clone" command
$ mkdir -p build && cd build
$ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=PREFIX ..
$ make
$ make install
where PREFIX is the directory into which the RST converters should be installed.
Debian packages for several versions of Ubuntu GNU/Linux are available from the CoR-Lab package repository.
Configure your computer to use the repository as described here: http://packages.cor-lab.de
After that, packages can be installed via
$ sudo apt-get install rst0.11 librstconverters0.11
Of course, it also possible to only install a subset of the above packages.