YARP 2.2.6 Ubuntu Install

From Asibot & HOAP3 & TEO Wiki
Revision as of 20:34, 29 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 ../..

Commented out stuff

Thew following doesn't work. One way or another in Ubuntu, you must set YARP_DIR. (maybe through YARP_ROOT?)
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


This is already done in previous step: 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