Difference between revisions of "Drv rave Ubuntu Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
m
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
The following is a guide for compilation of [[Asibot_-_Implemented_Modules#drv_rave_.5B3.5D|'''drv_rave''']] on a fresh Ubuntu 10.04 (as of 15/05/2010, what you get from a ''' sudo aptitude safe-upgrade'''). 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!).
+
The following is a guide for compilation of [[Asibot_-_Implemented_Modules_v0.2#drv_rave_.28Ubuntu_.2F_Windows.29|'''drv_rave''']] on a fresh Ubuntu 10.04 (as of 15/05/2010, what you get from a ''' sudo aptitude safe-upgrade''')([[drv_rave Windows Install|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:
+
----
 +
 
 +
Always insert password and answer YES when required!
 +
 
 +
First install some basic utilities:
 
  sudo apt-get install build-essential cmake cmake-curses-gui subversion
 
  sudo apt-get install build-essential cmake cmake-curses-gui subversion
Then install ACE 5.7.1.0 (ACE is needed for YARP):
+
Then [[ACE 5.7.1 Ubuntu Install|install ACE 5.7.1.0]] (ACE is needed for YARP).
wget http://download.dre.vanderbilt.edu/previous_versions/ACE-5.7.1.tar.gz
+
 
tar -zxvf ACE-5.7.1.tar.gz
+
Then [[YARP 2.2.6 Ubuntu Install|install YARP 2.2.6]] (YARP is needed for drv_rave).
cd ACE_wrappers; mkdir build; cd build
+
 
../configure --disable-ssl --disable-ace-examples
+
Then [[Boost 1.39 Ubuntu Install|install Boost 1.39]] (BOOST is needed for OpenRave).
make
+
 
sudo make install
+
Then [[OpenRAVE R1457 Ubuntu Install|install OpenRAVE R1457]] (OpenRave is needed for drv_rave).
cd ../..
+
 
Then install YARP 2.2.6 (YARP is needed for drv_rave):
 
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 ../..
 
Then install Boost 1.39 (BOOST is needed for OpenRave):
 
wget http://downloads.sourceforge.net/project/boost/boost/1.39.0/boost_1_39_0.tar.gz
 
tar -zxvf boost_1_39_0.tar.gz
 
cd boost_1_39_0
 
./bootstrap.sh
 
./bjam
 
sudo ./bjam install
 
cd ..
 
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 <!-- Maybe better from source? -->
 
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:
 
And finally compile the actual module:
 
  svn co http://robots.uc3m.es/svn/ASIBOTcoderepo/branches/v02/drivers/drv_rave
 
  svn co http://robots.uc3m.es/svn/ASIBOTcoderepo/branches/v02/drivers/drv_rave
Line 42: Line 21:
 
  make
 
  make
 
  cd ../../..
 
  cd ../../..
 +
 +
<u>Note</u>: YARP_DIR is set to ''/yarp-2.2.6/build'' by default. It should point to the directory where "YARPConfig.cmake" is, which is usually the YARP build directory. Something like the following should work.
 +
cd
 +
find -name "YARPConfig.cmake"
 +
export YARP_DIR=''absoulte_path_to_the_DIR_where_it_is''
 +
 +
 
To run:
 
To run:
export LD_LIBRARY_PATH=/usr/local/lib
+
<!-- export LD_LIBRARY_PATH=/usr/local/lib -->
 
  cd drv_rave/out/linux-x86
 
  cd drv_rave/out/linux-x86
 
  ./drv_rave
 
  ./drv_rave
 +
 +
----
 +
 +
(Note from JGV: Also worked for Ubuntu 9.04!)

Latest revision as of 18:21, 2 June 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).

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 ../../..

Note: YARP_DIR is set to /yarp-2.2.6/build by default. It should point to the directory where "YARPConfig.cmake" is, which is usually the YARP build directory. Something like the following should work.

cd
find -name "YARPConfig.cmake"
export YARP_DIR=absoulte_path_to_the_DIR_where_it_is


To run:

cd drv_rave/out/linux-x86
./drv_rave

(Note from JGV: Also worked for Ubuntu 9.04!)