InstallationC++ » History » Version 4
J. Moringen, 06/29/2011 09:58 AM
minor fix
1 | 1 | S. Wrede | h1. Installation of C++ Implementation |
---|---|---|---|
2 | 2 | S. Wrede | |
3 | 3 | S. Wrede | h2. External Dependencies |
4 | 2 | S. Wrede | |
5 | 2 | S. Wrede | * Boost (mostly dependencies of RSC library), in particular |
6 | 2 | S. Wrede | ** boost::uuid (can be installed from GAR installer via contrib/boost.uuid, maverick: libboost1.42-dev) |
7 | 2 | S. Wrede | ** libboost-thread-dev |
8 | 2 | S. Wrede | ** libboost-filesystem-dev |
9 | 2 | S. Wrede | ** libboost-signals-dev |
10 | 2 | S. Wrede | * Google Protocol Buffers (ubuntu lucid package is ok, can also be installed from GAR installer via contrib/protobuf), in particular |
11 | 2 | S. Wrede | ** libprotobuf-dev |
12 | 2 | S. Wrede | ** protobuf-compiler |
13 | 2 | S. Wrede | * Optional: |
14 | 2 | S. Wrede | ** Doxygen for documentation generation (ubuntu package) |
15 | 2 | S. Wrede | ** lcov for coverage report (ubuntu package) |
16 | 2 | S. Wrede | |
17 | 2 | S. Wrede | Up to this step, in Maverick installing the dependencies should be as simple as: |
18 | 2 | S. Wrede | <pre> |
19 | 2 | S. Wrede | 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 |
20 | 2 | S. Wrede | </pre> |
21 | 2 | S. Wrede | |
22 | 2 | S. Wrede | * Spread Toolkit for Spread multicast transport extension (lucid ubuntu package does *not* work, due to outdated version 3) |
23 | 2 | S. Wrede | ** Can be installed through GAR installer via contrib/spread or from source |
24 | 2 | S. Wrede | |
25 | 3 | S. Wrede | h2. Installation of RSC, RSBProtocol and RSB |
26 | 2 | S. Wrede | |
27 | 4 | J. Moringen | * Checkout RSB and its immediate dependencies from the Subversion repository: |
28 | 2 | S. Wrede | ** RSC: https://code.cor-lab.org/svn/rsc/trunk/rsc |
29 | 2 | S. Wrede | ** RSB Protocol: https://code.cor-lab.org/svn/rsb/trunk/protocol |
30 | 2 | S. Wrede | ** RSB C++: https://code.cor-lab.org/svn/rsb/trunk/cpp/core |
31 | 2 | S. Wrede | * CMake is required to configure the projects. |
32 | 2 | S. Wrede | * Build and install the RSB C++ core and its dependencies (in the order given below): |
33 | 2 | S. Wrede | *# Build and install RSC Library: |
34 | 2 | S. Wrede | <pre> |
35 | 2 | S. Wrede | cd rsc/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install |
36 | 2 | S. Wrede | </pre> |
37 | 2 | S. Wrede | *# Install RSB Protocol Definitions |
38 | 2 | S. Wrede | <pre> |
39 | 2 | S. Wrede | cd protocol/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install |
40 | 2 | S. Wrede | </pre> |
41 | 2 | S. Wrede | _Note: these protocol definitions are shared across programming languages._ |
42 | 2 | S. Wrede | *# Build and install RSB C++ Core |
43 | 2 | S. Wrede | <pre> |
44 | 2 | S. Wrede | cd core/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix -DRSC_DIR=$prefix/share/RSC && make && make install |
45 | 2 | S. Wrede | </pre> |