crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
164 stars 77 forks source link

Support for Ubuntu 18.04 #4

Closed mrahtz closed 5 years ago

mrahtz commented 5 years ago

Thanks for this repo! The README suggests support for Ubuntu 18.04, but I see that commit b9fdc9a seems to revert a number of 18.04-specific changes. I've dabbled with compiling on 18.04 by adding back some of these changes, but got compiler errors. Were you ever able to get it running on 18.04, or is there some reason that it's not possible?

fsuarez6 commented 5 years ago

Yes, it supports 18.04. We have succeeded to install it on couple of machines. Did you try the latest commit?

naldorinho commented 5 years ago

Thanks for the repo! I have tried the latest commit for 18.04 and i'm still having problems with some errors installing the last install-openrave.sh file.

python/bindings/CMakeFiles/pyANN_int.dir/build.make:62: recipe for target 'python/bindings/CMakeFiles/pyANN_int.dir/pyann.cpp.o' failed make[2]: [python/bindings/CMakeFiles/pyANN_int.dir/pyann.cpp.o] Error 1 CMakeFiles/Makefile2:1158: recipe for target 'python/bindings/CMakeFiles/pyANN_int.dir/all' failed make[1]: [python/bindings/CMakeFiles/pyANN_int.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

Do you know any solution? Thanks!

fsuarez8 commented 5 years ago

Can you share the full output? Please share it using something like https://pastebin.com/

naldorinho commented 5 years ago

The whole output of the comand window when installing openrave in ubuntu 18.04 https://pastebin.com/NX0bpQuZ

fsuarez6 commented 5 years ago

OK. I need some time to test on a fresh Ubuntu 18.04 container.

fsuarez6 commented 5 years ago

The issue you encounter is due to a deprecation in Boost. According to the Boost 1.65 release notes:

The boost::python::numeric API has been removed, as it is being obsoleted by boost::python::numpy.

Please try the latest commit. I've changed the scripts to install boost 1.58 from source for Ubuntu 18.04.

naldorinho commented 5 years ago

It works! Thank you for the help!!