-
Notifications
You must be signed in to change notification settings - Fork 51
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
Set OGRE minimal version to 1.8. Warn on versions not supported (ign-rendering3) #376
Conversation
Flag USE_UNOFFICIAL_OGRE_VERSIONS disabled the warning for the experienced users. Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Codecov Report
@@ Coverage Diff @@
## ign-rendering3 #376 +/- ##
===============================================
Coverage 53.34% 53.35%
===============================================
Files 131 131
Lines 12036 12036
===============================================
+ Hits 6421 6422 +1
+ Misses 5615 5614 -1
Continue to review full report at Codecov.
|
CMakeLists.txt
Outdated
|
||
if (OGRE_FOUND) | ||
IGN_BUILD_WARNING("Ogre 1.x versions greater than 1.9 are not officially supported." | ||
"The software might compile and event work but support from upstream" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
event
- > even
support from upstream could be reduced to accept patches for newer versions
To confirm, I think this means we will provided limited support in the form of accepting patches for newer versions but not actively develop against them right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To confirm, I think this means we will provided limited support in the form of accepting patches for newer versions but not actively develop against them right?
Eh yes, that is my idea but you Ian or @chapulina probably have it clearer in your mind. Please feel free to reformulate to somehow explain that we won't fix bug on other versions of Ogre but we accept all kind of patches to make it happen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. A couple of minor suggestions are: event
-> even
, and accept
-> accepting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done c57a8e5
CMakeLists.txt
Outdated
endif() | ||
endif() | ||
|
||
ign_find_package(IgnOGRE VERSION 1.9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can skip looking for 1.9.0 if 1.10 is found?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about this 90ebd1e ?
CMakeLists.txt
Outdated
|
||
if (OGRE_FOUND) | ||
IGN_BUILD_WARNING("Ogre 1.x versions greater than 1.9 are not officially supported." | ||
"The software might compile and event work but support from upstream" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. A couple of minor suggestions are: event
-> even
, and accept
-> accepting
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Since this was merged, there are confusing status messages about https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-bionic-amd64/49/consoleFull
Full snippet
But then it looks like the
@j-rivero , is that going to improve the messages so that they're less misleading? |
in addition to the confusion of the messages, it's generating a cmake warning that makes the build unstable: |
I think this also broke downstream Windows builds, which are installing Ogre 1.12.9: https://build.osrfoundation.org/job/ign_gui-pr-win/996/consoleFull#console-section-10
|
I'm not sure. I've merged gazebosim/gz-cmake#175 to see if things are working as expected on Windows. Not that if we are using an unsupported versions of Ogre in our CI then:
Failure was not the intended result in any case of this PR, we need to consider it as a bug and resolved as soon as we can. |
is this new |
I did not use it anywhere. It should be fixed, I'll open a PR. |
Sorry for being a bit late to the party. : ) However, I was trying to debug some probably related regression in conda-forge/libignition-rendering4-feedstock#19 (comment) , and I was trying to understand how to use the new |
ouch #453 |
Fix #375
Might require gazebosim/gz-cmake#175 to work