Difference between revisions of "YARP 2.2.6 Ubuntu Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
  cd yarp-2.2.6; mkdir build; cd build
 
  cd yarp-2.2.6; mkdir build; cd build
 
  cmake ..
 
  cmake ..
  make
+
  make -j3
 
  sudo make install
 
  sudo make install
 
  cd ../..
 
  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):
+
For CREATE_GUIS option, before cmake:
sudo cp yarp-2.2.6/build/YARPConfig.cmake /usr/share/cmake-2.'''x'''/Modules
+
  sudo apt-get install libgtk2.0-dev
 
 
<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
 

Latest revision as of 11:53, 10 November 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 -j3
sudo make install
cd ../..

For CREATE_GUIS option, before cmake:

sudo apt-get install libgtk2.0-dev