Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling with compatibility between Moby and Ravellin, and Openrave #11

Open
aprath1 opened this issue Aug 27, 2021 · 1 comment
Open

Comments

@aprath1
Copy link

aprath1 commented Aug 27, 2021

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(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

@edrumwri
Copy link
Contributor

Moby is not being maintained at the present time. I expect that an older version of g++ should be able to resolve the compilation error though, or, at least a bit of finagling with a newer g++: boost::shared_ptr needs to be swapped out with std::shared_ptr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants