InstallationC++ » History » Version 10
« Previous -
Version 10/17
(diff) -
Next » -
Current version
J. Moringen, 12/08/2011 01:29 PM
improved structure added toc
Installation of C++ Implementation¶
Dependencies¶
Required Dependencies¶
- Boost >= 1.38 (for hardy available in the gar-installer, 1.34.1 untested)
- Boost.UUID (header-only, officially included in Boost since 1.42, headers from this version can be used with all older versions of boost, gar-installer package available)
- Google Protocol Buffers
- Ubuntu Lucid packages are ok (libprotobuf-dev, protobuf-compiler)
- can also be installed from GAR installer via contrib/protobuf
- Spread Toolkit >= 4.0
- Ubuntu Lucid package does not work, due to outdated version 3
- Can be installed through GAR installer via contrib/spread or from source
- CMake (tested with 2.8)
Optional Dependencies¶
The C++ implementation can be built without these, but some features will be missing.
Installation of Dependencies on Debian-based Systems¶
Example for Ubuntu 10.04:
$ sudo apt-get install libprotobuf-dev protobuf-compiler build-essential libboost-dev
Supported Operating Systems and Compilers¶
- Linux (GCC 4.x)
- Windows (MS Visual Studio 9 2008)
Other combination may be possible but are currently untested.
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: