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

[melodic] Compatibility fix for OGRE 1.10.4 and up. #1503

Closed
wants to merge 2 commits into from

Conversation

seanyen
Copy link
Contributor

@seanyen seanyen commented May 4, 2020

A recent lint fix causes a build break when building RViz with OGRE v1.10.4 and up.

This pull request is attempting to make the RViz to be compatible with OGRE 1.10.4 and up again. And here is some context:

Since OGRE v1.10.4, the signature of OgreMovableObject::getName is no longer a virtual function. To accommodate that, conditionally declare the matched signature of getName() for rviz::MovableText.

Since OGRE v1.10.4, the signature of [`OgreMovableObject::getName`](https://github.com/OGRECave/ogre/blob/v1.10.4/OgreMain/include/OgreMovableObject.h#L204) is no longer a virtual function. To accommodate that, conditionally declare `getName()` for `rviz::MovableText`.
@seanyen
Copy link
Contributor Author

seanyen commented May 4, 2020

@rhaschke This is ready for review and merge. Thanks!

@rhaschke
Copy link
Contributor

rhaschke commented May 5, 2020

Thanks for this fix, @seanyen. However, I applied it to the noetic-devel branch only, as only there we have guarantee compatibility with newer versions of Ogre (and we can use the OGRE_VERSION_CHECK macro).

@rhaschke rhaschke closed this May 5, 2020
@rhaschke rhaschke mentioned this pull request May 6, 2020
8 tasks
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

Successfully merging this pull request may close these issues.

2 participants