InstallationC++ » History » Version 9
J. Moringen, 12/08/2011 01:26 PM
fixed case of rsc directory
1 | 1 | S. Wrede | h1. Installation of C++ Implementation |
---|---|---|---|
2 | 2 | S. Wrede | |
3 | 6 | J. Wienke | h2. Dependencies |
4 | 1 | S. Wrede | |
5 | 6 | J. Wienke | * "Boost":http://www.boost.org/ >= 1.38 (for hardy available in the gar-installer, 1.34.1 untested) |
6 | 6 | J. Wienke | * "Boost.UUID":http://www.boost.org/doc/libs/1_42_0/libs/uuid/uuid.html (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) |
7 | 6 | J. Wienke | * "Google Protocol Buffers":http://code.google.com/p/protobuf/ |
8 | 6 | J. Wienke | ** Ubuntu Lucid packages are ok (libprotobuf-dev, protobuf-compiler) |
9 | 6 | J. Wienke | ** can also be installed from GAR installer via contrib/protobuf |
10 | 6 | J. Wienke | * "Spread Toolkit":http://spread.org/ >= 4.0 |
11 | 6 | J. Wienke | ** Ubuntu Lucid package does *not* work, due to outdated version 3 |
12 | 6 | J. Wienke | ** Can be installed through GAR installer via contrib/spread or from source |
13 | 6 | J. Wienke | * "CMake":http://www.cmake.org/ (tested with 2.8) |
14 | 6 | J. Wienke | * optional: |
15 | 1 | S. Wrede | ** "Doxygen":http://www.doxygen.nl/ for API generation |
16 | 1 | S. Wrede | ** "Lcov":http://ltp.sourceforge.net/coverage/lcov.php for code coverage analysis |
17 | 1 | S. Wrede | ** "cppcheck":http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page for static code analysis |
18 | 8 | S. Wrede | |
19 | 8 | S. Wrede | apt-get command line to install all dependencies on Ubuntu 10.04: |
20 | 8 | S. Wrede | <pre> |
21 | 8 | S. Wrede | swrede@ubuntu:~$ sudo apt-get install libprotobuf-dev protobuf-compiler build-essential libboost-dev |
22 | 8 | S. Wrede | </pre> |
23 | 2 | S. Wrede | |
24 | 6 | J. Wienke | h2. Supported Operating Systems and Compilers |
25 | 2 | S. Wrede | |
26 | 6 | J. Wienke | * Linux (GCC 4.x) |
27 | 6 | J. Wienke | * Windows (MS Visual Studio 9 2008) |
28 | 6 | J. Wienke | |
29 | 6 | J. Wienke | Other combination may be possible but are currently untested. |
30 | 3 | S. Wrede | |
31 | 2 | S. Wrede | h2. Installation of RSC, RSBProtocol and RSB |
32 | 4 | J. Moringen | |
33 | 2 | S. Wrede | * Checkout RSB and its immediate dependencies from the Subversion repository: |
34 | 2 | S. Wrede | ** RSC: https://code.cor-lab.org/svn/rsc/trunk/rsc |
35 | 2 | S. Wrede | ** RSB Protocol: https://code.cor-lab.org/svn/rsb/trunk/protocol |
36 | 2 | S. Wrede | ** RSB C++: https://code.cor-lab.org/svn/rsb/trunk/cpp/core |
37 | 2 | S. Wrede | * CMake is required to configure the projects. |
38 | 2 | S. Wrede | * Build and install the RSB C++ core and its dependencies (in the order given below): |
39 | 2 | S. Wrede | *# Build and install RSC Library: |
40 | 2 | S. Wrede | <pre> |
41 | 2 | S. Wrede | cd rsc/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install |
42 | 2 | S. Wrede | </pre> |
43 | 2 | S. Wrede | *# Install RSB Protocol Definitions |
44 | 2 | S. Wrede | <pre> |
45 | 2 | S. Wrede | cd protocol/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install |
46 | 2 | S. Wrede | </pre> |
47 | 2 | S. Wrede | _Note: these protocol definitions are shared across programming languages._ |
48 | 2 | S. Wrede | *# Build and install RSB C++ Core |
49 | 2 | S. Wrede | <pre> |
50 | 9 | J. Moringen | cd core/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix -DRSC_DIR=$prefix/share/rsc && make && make install |
51 | 1 | S. Wrede | </pre> |