Difference between revisions of "YARP 2.2.6 Ubuntu Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
  sudo make install
 
  sudo make install
 
  cd ../..
 
  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:
 +
<u>Note</u>: 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

Revision as of 20:34, 29 May 2010

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