Difference between revisions of "OpenRAVE R1457 Ubuntu Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
  sudo make install
 
  sudo make install
 
  cd ../..
 
  cd ../..
 +
 +
 +
(Note from [vtejada and mstoelen]: In our case we use r2208 so: svn co -r 2208 https://openrave.svn.sourceforge.net/svnroot/openrave/trunk openrave)
  
 
For correct integration with CMake, find "FindOpenRAVE.cmake" (it should be in the ''openrave/src/cppexamples'' 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 correct integration with CMake, find "FindOpenRAVE.cmake" (it should be in the ''openrave/src/cppexamples'' 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):

Revision as of 11:38, 26 October 2011

Note: Depends on Boost.

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


(Note from [vtejada and mstoelen]: In our case we use r2208 so: svn co -r 2208 https://openrave.svn.sourceforge.net/svnroot/openrave/trunk openrave)

For correct integration with CMake, find "FindOpenRAVE.cmake" (it should be in the openrave/src/cppexamples 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 openrave/src/cppexamples/FindOpenRAVE.cmake /usr/share/cmake-2.x/Modules




(Note from [ajardon]: In my case: from a fresh Ubuntu 10.04 instalation, the cmake version was 2.8 ) so I wrote:

sudo cp openrave/src/cppexamples/FindOpenRAVE.cmake /usr/share/cmake-2.8/Modules


(Note from [jgvictores]: sudo apt-get install libsoqt4-dev libcoin60-dev -> sudo apt-get install libsoqt4-dev libcoin40-dev for Ubuntu 9.04)



[jgvictores] says ...the following is nice!!

In order to use the python bindings through the openravepy module, install the following packages before compiling OpenRAVE:

sudo apt-get install libboost-python-dev python python-dev python-numpy python-scipy python-imaging-tk

To setup the python path in bash add the following line:

export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`