Orocos Component Library ======================== Installation ============ For the minimal ocl library, do tar -xjvf orocos-ocl--src.tar.bz2 cd orocos-ocl- cmake . 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. Specify header locations using the CMAKE_INCLUDE_PATH variable. 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. For libraries in non-default locations, use the CMAKE_LIBRARY_PATH variable. For selecting additional (hardware related) components, setting include paths, or setting the installation prefix, do cd orocos-ocl- cmake . ccmake . Now a config screen appears: [ edit paths ] [ press 'c' ] [ check for errors, press 'e' ] [ select additional components ] [ press 'c'; check for errors, press 'e', ... ] When all is fine, you can press 'g' in the config screen. If no 'g' appears, the configuration is not yet correct. Finally: make make install Installation options -------------------- * Orocos uses cmake (http://www.cmake.org) for its build configuration. CMake is a cross-platform build system. Use version 2.2 or 2.4. * Orocos uses the 'pkg-config' program to detect installed libraries. * This library requires that the Orocos RTT (liborocos-rtt) is installed (path in OROCOS_INSTALL) Some components require the Orocos KDL (path in KDL_INSTALL) or the Orocos BFL (path in BFL_INSTALL). * You can set the installation prefix 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 .. or use the 'configure' wrapper script: $ ../configure CC="distcc gcc-3.3" CXX="distcc g++-3.3" 3) use the GUI Configurator: Use 'ccmake' rather than 'cmake' for a text-based configurator. 4) have packaging support: $ make install DESTDIR=/staging/dir