YARP 2.2.6 Ubuntu Install

From Asibot & HOAP3 & TEO Wiki
Revision as of 16:19, 28 May 2010 by Jgvictores (talk | contribs)
Jump to navigation Jump to search

Note: Depends on ACE.

wget http://downloads.sourceforge.net/yarp0/yarp-2.2.6.tar.gz
tar -zxvf yarp-2.2.6.tar.gz
cd yarp-2.2.6; mkdir build; cd build
cmake ..
make
sudo make install
cd ../..

For correct integration with CMake, find "YARPConfig.cmake" (it should be in the yarp-2.2.6/build directory). Copy it to the CMake Modules path (something like /usr/share/cmake-2.x/Modules). This line would be something like (change the x to your cmake version):

sudo cp yarp-2.2.6/build/YARPConfig.cmake /usr/share/cmake-2.x/Modules

Note: This package comes with a cmake file that is useful for correct ACE integration with CMake. Find "FindAce.cmake" inside the YARP directories (it should be in something like yarp-2.2.6/example/ace_check) and copy it to the CMake Modules path (something like /usr/share/cmake-2.x/Modules) for this purpose. This line would be something like (change the x to your cmake version):

sudo cp yarp-2.2.6/example/ace_check/FindACE.cmake /usr/share/cmake-2.x/Modules