openrave icon indicating copy to clipboard operation
openrave copied to clipboard

Struggling with compatibility between dependencies of openrave => Moby-openrave branch and Ravelin. Not able to compile.

Open aprath1 opened this issue 3 years ago • 1 comments

Hello,

Could any one please help to let me know which branch or commit head of Ravelin is compatible with the Moby-openrave branch? I am trying different Ravelin branches and commit heads... Ravelin builds always but then the Moby-openrave branch is throwing errors like: Build error: Moby/include/Moby/Joint.h:60:69: error: reference 'shared_from_this' ambiguous (related files ArticulatedBody.h, Joint.h, RCArticulatedBody.h) JointPtr get_this() { return boost::dynamic_pointer_cast<Joint>(shared_from_this()); } ^ In file included from /usr/include/boost/enable_shared_from_this.hpp:16:0, from /usr/local/include/Ravelin/Origin3f.h:13, from /usr/local/include/Ravelin/Vector3f.h:17, from /usr/local/include/Ravelin/Constants.h:12, from /usr/local/include/Ravelin/LinAlgd.h:15, from /home/repos/Moby/src/SustainedUnilateralConstraintHandler.cpp:9:

I tried using a virual pointer like in ravelin, still the error is not solved: DynamicBody.h:14:60: error: expected template-name before ‘<’ token DynamicBody.h:14:60: error: expected unqualified-id before ‘<’ token SustainedUnilateralConstraintHandler.cpp.o failed to build

aprath1 avatar Aug 27 '21 07:08 aprath1

can you check https://github.com/PositronicsLab/Moby/issues/5 ?

also the commit is only https://github.com/PositronicsLab/Moby/commit/907919dc5fe45ceebba76023bf98ccef15956c07 so using master should not be difficult.

By the way who from mujin committed 907919dc5fe45ceebba76023bf98ccef15956c07 ? Maybe I personally want to talk with him about the motivation.

cielavenir avatar Dec 10 '21 01:12 cielavenir