InstallationC++ » History » Version 6

« Previous - Version 6/17 (diff) - Next » - Current version
J. Wienke, 08/10/2011 02:36 PM
updated dependency description


Installation of C++ Implementation

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:

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):
    1. Build and install RSC Library:
      cd rsc/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install
      
    2. Install RSB Protocol Definitions
      cd protocol/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install
      

      Note: these protocol definitions are shared across programming languages.
    3. Build and install RSB C++ Core
      cd core/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix -DRSC_DIR=$prefix/share/RSC && make && make install