Difference between revisions of "OpenRAVE R1457 Ubuntu Install"
(12 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
− | (Note from [vtejada and mstoelen]: In our case we use | + | (Note from [vtejada and mstoelen]: In our case we use r2868) so we wrote: |
+ | |||
+ | svn co -r 2868 https://openrave.svn.sourceforge.net/svnroot/openrave 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): | ||
Line 22: | Line 25: | ||
(Note from [ajardon]: In my case: from a fresh Ubuntu 10.04 instalation, the cmake version was 2.8 ) so I wrote: | (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 | + | sudo cp openrave/trunk/src/cppexamples/FindOpenRAVE.cmake /usr/share/cmake-2.8/Modules |
Line 29: | Line 32: | ||
---- | ---- | ||
+ | ( note from [ajardon]: after downloading the right revision, when executes cmake.. you will probably get the following error: | ||
+ | ajardon@ajardon-HP:~/build$ cmake .. | ||
+ | CMake Error: The source directory "/home/ajardon" does not appear to contain CMakeLists.txt. | ||
+ | Specify --help for usage, or press the help button on the CMake GUI. | ||
+ | |||
+ | be patient, just do the folowing: | ||
+ | |||
+ | find and edit the hidden file at home dir named .bashrc | ||
+ | |||
+ | at the end of this file add the following line: | ||
+ | |||
+ | export YARP_DIR=/home/ajardon/yarp-2.2.6/build | ||
+ | |||
+ | with your right home path... | ||
+ | |||
+ | that's all folks | ||
+ | |||
+ | ---- | ||
[jgvictores] says ...the following is nice!! | [jgvictores] says ...the following is nice!! |
Latest revision as of 16:33, 7 November 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 r2868) so we wrote:
svn co -r 2868 https://openrave.svn.sourceforge.net/svnroot/openrave 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/trunk/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)
( note from [ajardon]: after downloading the right revision, when executes cmake.. you will probably get the following error: ajardon@ajardon-HP:~/build$ cmake .. CMake Error: The source directory "/home/ajardon" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.
be patient, just do the folowing:
find and edit the hidden file at home dir named .bashrc
at the end of this file add the following line:
export YARP_DIR=/home/ajardon/yarp-2.2.6/build
with your right home path...
that's all folks
[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`