InstallationC++ » History » Version 5
« Previous -
Version 5/17
(diff) -
Next » -
Current version
J. Wienke, 08/09/2011 12:03 PM
Installation of C++ Implementation¶
External Dependencies¶
- Boost (mostly dependencies of RSC library), in particular
- boost::uuid (can be installed from GAR installer via contrib/boost.uuid, maverick: libboost1.42-dev)
- libboost-thread-dev
- libboost-filesystem-dev
- libboost-signals-dev
- Google Protocol Buffers (ubuntu lucid package is ok, can also be installed from GAR installer via contrib/protobuf), in particular
- libprotobuf-dev
- protobuf-compiler
- Optional:
- Doxygen for documentation generation (ubuntu package)
- lcov and gcovr for coverage report (ubuntu package, gcovr from svn trunk)
Up to this step, in Maverick installing the dependencies should be as simple as:
sudo apt-get install libprotobuf-java libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-filesystem-dev libboost-signals-dev libboost-program-options-dev libboost-regex-dev libboost1.42-dev
- Spread Toolkit for Spread multicast transport extension (lucid ubuntu package does not work, due to outdated version 3)
- Can be installed through GAR installer via contrib/spread or from source
Installation of RSC, RSBProtocol and RSB¶
- Checkout RSB and its immediate dependencies from the Subversion repository:
- CMake is required to configure the projects.
- Build and install the RSB C++ core and its dependencies (in the order given below):
- Build and install RSC Library:
cd rsc/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install
- Install RSB Protocol Definitions
cd protocol/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install
Note: these protocol definitions are shared across programming languages. - Build and install RSB C++ Core
cd core/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix -DRSC_DIR=$prefix/share/RSC && make && make install
- Build and install RSC Library: