-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Remove deprecated code before PCL 1.13.0 release #5375
Remove deprecated code before PCL 1.13.0 release #5375
Conversation
34baa11
to
bb69555
Compare
Seems we need to upgrade 18.04 to use VTK 7 first. pcl/.ci/azure-pipelines/env.yml Line 47 in a92da8b
Should be available: https://packages.ubuntu.com/bionic/libvtk7-dev |
To be honest I don't really understand why OpenGL compatibility should be deprecated/removed. |
@theoniko Oh and there are some more deprecated things in filters and registration (see the issue). Would you also remove those, please? |
The idea behind dropping the old backend is to simplify the code by removing But in general I think: If you absolutely want to upgrade to PCL 1.13.0, you should also be able to switch to e.g. VTK 7 or in case of doubt build VTK yourself, if you insist on historical in combinations with current systems ;-) |
bb69555
to
cee4b30
Compare
Ok, that sounds reasonable. Then we have to update the 18.04 docker image to VTK 7, as Lars suggested, but in a separate pull request. @theoniko would you also be interested to do that? And please remove the deprecated function in bfgs.h |
@mvieth: PR is not yet ready anyway. I can give it a try to update 18.04 docker image to VTK 7 with a new pr. |
cee4b30
to
50d7ea4
Compare
@theoniko : Can you also removing all checks for |
@theoniko Are you still working on this? |
@mvieth: I am quite busy these days. I will try to have a look at the weekend. Is there a fixed date plan for release of 1.13.0 |
Not a totally fixed date, but somewhat soon, the PCL 1.12.0 release was over a year ago. And we will definitely have to remove the deprecated stuff before the release. If you currently don't have much time, it's also fine if you remove everything but the stuff related to VTK and the VTK rendering backend (and revert the changes in pcl_find_vtk.cmake). As soon as this PR is in a good state, we can merge it, and someone else can remove the remaining things. |
1c8c168
to
c9b538e
Compare
@mvieth , @SunBlack In Cmakelist under visualization folder do i need to update anything to this line? At first look, i do not think so but could you confirm |
9629a8f
to
c9b538e
Compare
18df398
to
42bf986
Compare
No, I would also say that this can stay as it is |
Same here. The code looks like it is generally needed for VTK6 under 18.04 and has nothing to do with the legacy backend. You could test what happens if you remove it, but I think you can leave it as it is, since probably the support of VTK6 will be gone with the end of Ubuntu 18.04 next year anyway. |
42bf986
to
12bb0a6
Compare
Please also remove the deprecated function in bfgs.h |
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.
Only a minor change, else looks good 👍 |
Thanks for the contribution! 👍 |
Fixes #5313