Difference between revisions of "Drv rave Ubuntu Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
Then [[YARP 2.2.6 Ubuntu Install|install YARP 2.2.6]] (YARP is needed for drv_rave).
 
Then [[YARP 2.2.6 Ubuntu Install|install YARP 2.2.6]] (YARP is needed for drv_rave).
  
Then install [[Boost 1.39 Ubuntu Install|Boost 1.39]] (BOOST is needed for OpenRave).
+
Then [[Boost 1.39 Ubuntu Install|install Boost 1.39]] (BOOST is needed for OpenRave).
  
 
Then install Openrave R1457 (OpenRave is needed for drv_rave)(note: no physics):
 
Then install Openrave R1457 (OpenRave is needed for drv_rave)(note: no physics):

Revision as of 16:56, 27 May 2010

The following is a guide for compilation of drv_rave on a fresh Ubuntu 10.04 (as of 15/05/2010, what you get from a sudo aptitude safe-upgrade)(click here for Windows guide). Most installs are from source and correct version is assured following the Modules - Dependency Version specification (compatibility!). Source tarballs can also be found at http://robots.uc3m.es/svn/ASIBOTcoderepo/branches/v02/tars (permanent links!).


Always insert password and answer YES when required!

First install some basic utilities:

sudo apt-get install build-essential cmake cmake-curses-gui subversion

Then install ACE 5.7.1.0 (ACE is needed for YARP).

Then install YARP 2.2.6 (YARP is needed for drv_rave).

Then install Boost 1.39 (BOOST is needed for OpenRave).

Then install Openrave R1457 (OpenRave is needed for drv_rave)(note: no physics):

sudo apt-get install libqt4-dev qt4-dev-tools libxml2-dev
sudo apt-get install libsoqt4-dev libcoin60-dev 
svn co -r 1457 https://openrave.svn.sourceforge.net/svnroot/openrave/trunk openrave
cd openrave; mkdir build; cd build
cmake ..
make
sudo make install
cd ../..

And finally compile the actual module:

svn co http://robots.uc3m.es/svn/ASIBOTcoderepo/branches/v02/drivers/drv_rave
cd drv_rave/mk; mkdir build; cd build
cmake ..
make
cd ../../..

To run:

export LD_LIBRARY_PATH=/usr/local/lib
cd drv_rave/out/linux-x86
./drv_rave