rdiankov / openrave

Open Robotics Automation Virtual Environment: An environment for testing, developing, and deploying robotics motion planning algorithms.
http://www.openrave.org
Other
692 stars 343 forks source link

Ubuntu installation instructions don't work on 13.04 #270

Open fatuhoku opened 11 years ago

fatuhoku commented 11 years ago

Following the installation instructions on http://openrave.org/docs/latest_stable/install/#install

I ran

$ sudo add-apt-repository ppa:openrave/release
...
$ sudo apt-get update
...
$ sudo apt-get install openrave

But then the last line just fails uninspiringly:

$ sudo apt-get install openrave
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openrave

I think this is because there is no Debian package available for Raring. I recommend putting up a warning that PPA's only support certain versions of Ubuntu: never the newest versions, so it seems. Defeats the point of a PPA, really.

If this is the case I bring into question what actually does constitute an OpenRave build (if it doesn't mean uploading updated packages for all the three supposedly supported operating systems like Debian Packages, Windows MSIs, or Mac .dmg images)?

rdiankov commented 11 years ago

yup, there's no debian packages for 13.04 since the latest 0.8.2 openrave release doesn't compile on it. the next openrave release will support 13.04 packages and windows exe setups (we don't do mac images)

LongfeiProjects commented 8 years ago

I got same problem in Ubuntu 14.04 64bit as well.

$ sudo apt-get install openrave Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package openrave


An intention to install it from source brings up more errors. For whom not familiar with debugging and fixing like me, it is quite a headache to mess up with all the warnings and errors:

In file included from /home/lzhao/Softwares/openrave/plugins/fclrave/fclcollision.h:11:0, from /home/lzhao/Softwares/openrave/plugins/fclrave/fclrave.cpp:18: /home/lzhao/Softwares/openrave/plugins/fclrave/fclmanagercache.h: In member function ‘void fclrave::FCLCollisionManagerInstance::Synchronize()’: /home/lzhao/Softwares/openrave/plugins/fclrave/fclmanagercache.h:294:43: error: ‘class fcl::BroadPhaseCollisionManager’ has no member named ‘replaceObject’ pmanager->replaceObject(itcache->second.vcolobjs.at(ilink).get(), pcol.get(), false); ^ /home/lzhao/Softwares/openrave/plugins/fclrave/fclmanagercache.h:312:93: error: no matching function for call to ‘fcl::BroadPhaseCollisionManager::update(boost::shared_ptrfcl::CollisionObject::elementtype, bool)’ pmanager->update(itcache->second.vcolobjs.at(ilink).get(), false); ^ /home/lzhao/Softwares/openrave/plugins/fclrave/fclmanagercache.h:312:93: note: candidates are: In file included from /home/lzhao/Softwares/openrave/plugins/fclrave/plugindefs.h:104:0, from /home/lzhao/Softwares/openrave/plugins/fclrave/fclrave.cpp:16: /opt/ros/indigo/include/fcl/broadphase/broadphase.h:84:16: note: virtual void fcl::BroadPhaseCollisionManager::update() virtual void update() = 0; ^ /opt/ros/indigo/include/fcl/broadphase/broadphase.h:84:16: note: candidate expects 0 arguments, 2 provided /opt/ros/indigo/include/fcl/broadphase/broadphase.h:87:16: note: virtual void fcl::BroadPhaseCollisionManager::update(fcl::CollisionObject_) virtual void update(CollisionObject* updated_obj) ^ /opt/ros/indigo/include/fcl/broadphase/broadphase.h:87:16: note: candidate expects 1 argument, 2 provided /opt/ros/indigo/include/fcl/broadphase/broadphase.h:93:16: note: virtual void fcl::BroadPhaseCollisionManager::update(const std::vectorfcl::CollisionObject&) virtual void update(const std::vector<CollisionObject>& updated_objs) ^ /opt/ros/indigo/include/fcl/broadphase/broadphase.h:93:16: note: candidate expects 1 argument, 2 provided In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0, from /usr/include/boost/make_shared.hpp:15, from /home/lzhao/Softwares/openrave/plugins/fclrave/plugindefs.h:56, from /home/lzhao/Softwares/openrave/plugins/fclrave/fclrave.cpp:16: /usr/include/boost/smart_ptr/make_shared_object.hpp: In instantiation of ‘typename boost::detail::sp_if_not_array::type boost::make_shared(Arg1&&, Args&& ...) [with T = fcl::CollisionObject; Arg1 = const std::shared_ptrfcl::CollisionGeometry&; Args = {}; typename boost::detail::sp_if_not_array::type = boost::shared_ptrfcl::CollisionObject]’: /home/lzhao/Softwares/openrave/plugins/fclrave/fclspace.h:237:96: required from here /usr/include/boost/smart_ptr/make_shared_object.hpp:218:5: error: no matching function for call to ‘fcl::CollisionObject::CollisionObject(const std::shared_ptrfcl::CollisionGeometry&)’ ::new( pv ) T( boost::detail::sp_forward( arg1 ), boost::detail::sp_forward( args )... ); ^ /usr/include/boost/smart_ptr/make_shared_object.hpp:218:5: note: candidates are: In file included from /opt/ros/indigo/include/fcl/collision.h:42:0, from /home/lzhao/Softwares/openrave/plugins/fclrave/plugindefs.h:102, from /home/lzhao/Softwares/openrave/plugins/fclrave/fclrave.cpp:16: /opt/ros/indigo/include/fcl/collision_object.h:170:3: note: fcl::CollisionObject::CollisionObject(const boost::shared_ptrfcl::CollisionGeometry&, const Matrix3f&, const Vec3f&) CollisionObject(const boost::sharedptr &cgeom, const Matrix3f& R, const Vec3f& T): ^ /opt/ros/indigo/include/fcl/collision_object.h:170:3: note: candidate expects 3 arguments, 1 provided /opt/ros/indigo/include/fcl/collision_object.h:163:3: note: fcl::CollisionObject::CollisionObject(const boost::shared_ptrfcl::CollisionGeometry&, const fcl::Transform3f&) CollisionObject(const boost::sharedptr &cgeom, const Transform3f& tf) : ^ /opt/ros/indigo/include/fcl/collision_object.h:163:3: note: candidate expects 2 arguments, 1 provided /opt/ros/indigo/include/fcl/collision_object.h:153:2: note: fcl::CollisionObjecfacing full screen oft::CollisionObject(const boost::shared_ptrfcl::CollisionGeometry&) CollisionObject(const boost::sharedptr &cgeom) : ^ /opt/ros/indigo/include/fcl/collision_object.h:153:2: note: no known conversion for argument 1 from ‘const std::shared_ptrfcl::CollisionGeometry’ to ‘const boost::shared_ptrfcl::CollisionGeometry&’ /opt/ros/indigo/include/fcl/collision_object.h:150:7: note: fcl::CollisionObject::CollisionObject(const fcl::CollisionObject&) class CollisionObject ^ /opt/ros/indigo/include/fcl/collision_object.h:150:7: note: no known conversion for argument 1 from ‘const std::shared_ptrfcl::CollisionGeometry’ to ‘const fcl::CollisionObject&’ In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0, from /usr/include/boost/make_shared.hpp:15, from /home/lzhao/Softwares/openrave/plugins/fclrave/plugindefs.h:56, from /home/lzhao/Softwares/openrave/plugins/fclrave/fclrave.cpp:16: /usr/include/boost/smart_ptr/make_shared_object.hpp: In instantiation of ‘typename boost::detail::sp_if_not_array::type boost::make_shared(Arg1&&, Args&& ...) [with T = fcl::CollisionObject; Arg1 = std::shared_ptrfcl::CollisionGeometry&; Args = {}; typename boost::detail::sp_if_not_array::type = boost::shared_ptrfcl::CollisionObject]’: /home/lzhao/Softwares/openrave/plugins/fclrave/fclspace.h:525:86: required from here /usr/include/boost/smart_ptr/make_shared_object.hpp:218:5: error: no matching function for call to ‘fcl::CollisionObject::CollisionObject(std::shared_ptrfcl::CollisionGeometry&)’ ::new( pv ) T( boost::detail::sp_forward( arg1 ), boost::detail::sp_forward( args )... ); ^ /usr/include/boost/smart_ptr/make_shared_object.hpp:218:5: note: candidates are: In file included from /opt/ros/indigo/include/fcl/collision.h:42:0, from /home/lzhao/Softwares/openrave/plugins/fclrave/plugindefs.h:102, from /home/lzhao/Softwares/openrave/plugins/fclrave/fclrave.cpp:16: /opt/ros/indigo/include/fcl/collision_object.h:170:3: note: fcl::CollisionObject::CollisionObject(const boost::shared_ptrfcl::CollisionGeometry&, const Matrix3f&, const Vec3f&) CollisionObject(const boost::sharedptr &cgeom, const Matrix3f& R, const Vec3f& T): ^ /opt/ros/indigo/include/fcl/collision_object.h:170:3: note: candidate expects 3 arguments, 1 provided /opt/ros/indigo/include/fcl/collision_object.h:163:3: note: fcl::CollisionObject::CollisionObject(const boost::shared_ptrfcl::CollisionGeometry&, const fcl::Transform3f&) CollisionObject(const boost::sharedptr &cgeom, const Transform3f& tf) : ^ /opt/ros/indigo/include/fcl/collision_object.h:163:3: note: candidate expects 2 arguments, 1 provided /opt/ros/indigo/include/fcl/collision_object.h:153:2: note: fcl::CollisionObject::CollisionObject(const boost::shared_ptrfcl::CollisionGeometry&) CollisionObject(const boost::sharedptr &cgeom) : ^ /opt/ros/indigo/include/fcl/collision_object.h:153:2: note: no known conversion for argument 1 from ‘std::shared_ptrfcl::CollisionGeometry’ to ‘const boost::shared_ptrfcl::CollisionGeometry&’ /opt/ros/indigo/include/fcl/collision_object.h:150:7: note: fcl::CollisionObject::CollisionObject(const fcl::CollisionObject&) class CollisionObject ^ /opt/ros/indigo/include/fcl/collision_object.h:150:7: note: no known conversion for argument 1 from ‘std::shared_ptrfcl::CollisionGeometry’ to ‘const fcl::CollisionObject&’ make[2]: * [plugins/fclrave/CMakeFiles/fclrave.dir/fclrave.cpp.o] Error 1 make[1]: * [plugins/fclrave/CMakeFiles/fclrave.dir/all] Error 2

gaguilarl commented 8 years ago

I have the same problem with the "make" command.

[100%] Building CXX object plugins/fclrave/CMakeFiles/fclrave.dir/fclrave.cpp.o

In the last output entry just before the error shows (the same error as LongfeiProjects reports) seams something is wrong. I have the ros-moveit stack installed. Maybe some library in ros-indigo-fcl confilicts with the libraries fclrave uses?