-
Notifications
You must be signed in to change notification settings - Fork 33
/
INSTALL
73 lines (47 loc) · 1.86 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Orocos Component Library
========================
NOTE - The Orocos Component Library is now part of the
Orocos Toolchain and should seldomly be installed
separately. Install the Orocos Toolchain instead.
Installation Details
====================
For the minimal ocl library, do
tar -xjvf orocos-ocl-<version>-src.tar.bz2
cd orocos-ocl-<version>
CMAKE_PREFIX_PATH=/opt/orocos cmake .
Where CMAKE_PREFIX_PATH contains the installation directory of
the Orocos libraries. It is set to ../install in case you do
a toolchain build.
If all dependencies could be found, a Makefile is generated and you
can type:
make
make install
If you have some of the ocl dependencies installed in non-standard
locations, you have to specify this using environment variables:
* Header locations using the CMAKE_INCLUDE_PATH variable.
* Library locations using CMAKE_LIBRARY_PATH.
* /opt -like locations using CMAKE_PREFIX_PATH (looks for libs, headers, binaries).
E.g. using bash and fink in Mac OS X, the boost library headers are
installed in /sw/include, so you would specify
export CMAKE_INCLUDE_PATH=/sw/include
before running cmake.
Installation options
--------------------
* Orocos uses cmake (http://www.cmake.org) for its build configuration.
CMake is a cross-platform build system. Use version 2.6.3 or later
* This library requires that the Orocos RTT (liborocos-rtt) is installed
(path in CMAKE_PREFIX_PATH).
* You can set the installation path in the CMAKE_INSTALL_PREFIX variable
using ccmake.
* You can additionally
1) do out-of-source builds:
$ mkdir build
$ cd build
$ cmake ..
$ make
2) set a different compiler:
$ CC="distcc gcc-3.3" CXX="distcc g++-3.3" cmake ..
3) use the GUI Configurator:
Use 'ccmake' or 'cmake-gui' rather than 'cmake' for a text-based configurator
4) have packaging support:
$ make install DESTDIR=/staging/dir