Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixes for incorrect VTK library dependencies #5066

Closed

Conversation

themightyoarfish
Copy link
Contributor

So I'm not sure if anyone beside me has had this issue … I'm on homebrew's vtk 8.2, and these changes here were necessary to build everything for me.
As for the apps, I only built point_cloud_editor, so I do not know if the others have any more problems. I did build all component PCL libs though.

@larshg
Copy link
Contributor

larshg commented Dec 10, 2021

I think you need to rebase your branch on master, to remove the old commits from the retina PR.

Also, you need to add some ifs, so you don't just add/remove libraries that are not required by other versions of VTK 😄

@mvieth
Copy link
Member

mvieth commented Dec 29, 2021

@themightyoarfish Are you going to continue this pull request? Currently, several CIs are failing, and, as Lars mentioned, there are some old commits.
Out of interest: Why are you using vtk@8.2, not plain vtk (which is version 9.1)? As I understand it, vtk@8.2 is deprecated

@themightyoarfish
Copy link
Contributor Author

themightyoarfish commented Dec 29, 2021 via email

@mvieth
Copy link
Member

mvieth commented Dec 29, 2021

If you do not intend to bring this pull request in a merge-able state, I currently see no reason to leave it open. I am not aware that anyone else uses PCL with VTK 8, and it seems unlikely to me because:

  • Ubuntu does not offer VTK 8 over apt, only VTK 6, 7, and 9
  • homebrew offers VTK 8.2, but that version is marked deprecated, and the standard VTK version is VTK 9.1
  • On VCPKG, VTK is at version 9.0.3

@mvieth mvieth closed this Dec 30, 2021
@themightyoarfish
Copy link
Contributor Author

I'm revisiting this right now and as i've found in #3370 (comment), VTK 9.0 creates problems when embedding a PCL visualizer into a Qt widget. Therefore it would be great if PCL remained backwards compatible to 8.2, which necessitates fixes like these here.

@mvieth
Copy link
Member

mvieth commented Jan 6, 2022

Feel free to continue this pull request whenever you like (tell me if you want me to reopen it)

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

Successfully merging this pull request may close these issues.

4 participants