Installing OpenRAVE0.9 on Ubuntu trusty (14.04)
Finally I made it… compile OpenRAVE under Ubuntu trusty and to run it without getting this segmentation fault:
undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
In fact it is pretty simple, here is what I did:
-
Download the latest OpenRAVE version from the git repository, as described at the website below
git clone –branch latest_stable https://github.com/rdiankov/opnrave.git
-
It is also advantageous to add following repositories to your
etc/apt/source.list
deb http://ppa.launchpad.net/openrave/testing/ubuntu trusty main
deb-src http://ppa.launchpad.net/openrave/testing/ubuntu trusty main
they contain the current collada-dom package… install …
sudo apt-get install collada-dom2.4-dp*
the following package might be also useful (thx peci1)
sudo apt-get install libsoqt4-dev
-
I had additional problems to compile the plugin “qtosgrave”, which is only as an additional visualization plugin (so not required). Thus, remove in file
plugins/CMakeList.txt
in line 21 theqtosgrave
entry. -
(Solution to the linker/segmentation/boost problem) To get rid of that boost failure, simply enter the directory
python/bindings
, there are three files where you have to replace the boost-makroBOOST_ENABLE_ASSERT_HANDLER
byBOOST_DISABLE_ASSERTS
, these are (of course):convexdecompositionpy.cpp
bindings.cpp
pyann.cpp
-
That’s it and the rest is straight forward:
- go back to the OpenRAVE root directory
mkdir build
cd build
ccmake
.. (and generate)make
sudo make install
-
Try it out: openrave.py –example hanoi
Here is the proving screenshot of the running example
