-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[workspace] Upgrade vtk_internal to latest commit #21387
Conversation
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.
Reviewable status: 1 unresolved discussion, LGTM missing from assignee jwnimmer-tri(platform), commits need curation (https://drake.mit.edu/reviewable.html#curated-commits) (waiting on @BetsyMcPhail)
a discussion (no related file):
VTK is broken upstream:
Common/Core/vtkObjectFactory.h:304:12: error: invalid 'static_cast' from type 'drake_vendor::vtkObject*' to type 'drake_vendor::vtkGLTFTexture*'
304 | return static_cast<thisClass*>(ret); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
IO/Geometry/vtkGLTFTexture.cxx:13:1: note: in expansion of macro 'vtkStandardNewMacro'
The vtkGLTFTexture class inherits vtkObjectBase
instead of vtkObject
for some reason, which means that the standard new macro cannot be used.
Hopefully someone at Kitware can fix it and then we can bump to the newer git commit here.
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.
+@rpoyner-tri for both reviews, please.
Reviewed 1 of 2 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: LGTM missing from assignees jwnimmer-tri(platform),rpoyner-tri(platform), commits need curation (https://drake.mit.edu/reviewable.html#curated-commits) (waiting on @BetsyMcPhail)
a discussion (no related file):
Previously, jwnimmer-tri (Jeremy Nimmer) wrote…
VTK is broken upstream:
Common/Core/vtkObjectFactory.h:304:12: error: invalid 'static_cast' from type 'drake_vendor::vtkObject*' to type 'drake_vendor::vtkGLTFTexture*' 304 | return static_cast<thisClass*>(ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ IO/Geometry/vtkGLTFTexture.cxx:13:1: note: in expansion of macro 'vtkStandardNewMacro'
The vtkGLTFTexture class inherits
vtkObjectBase
instead ofvtkObject
for some reason, which means that the standard new macro cannot be used.Hopefully someone at Kitware can fix it and then we can bump to the newer git commit here.
The https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11117 seems sensible, so I cherry-picked it here. We can drop it at the next upgrade.
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.
Reviewed 1 of 2 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: commits need curation (https://drake.mit.edu/reviewable.html#curated-commits) (waiting on @BetsyMcPhail)
Towards #21372
This change is