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

COMP: Fix build against VTK > 9.1 explicitly including "vtkVersion.h" #1042

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Oct 7, 2022

Following Kitware/VTK@d933bb849 (vtkDeprecation: remove symbols deprecated
in 9.1), the "vtkDeprecation.h" header (itself including "vtkVersionMacros.h"
was removed from "vtkOpenGLRenderWindow.h". This commit fixes the related
build errors by explicitly including "vtkVersion.h" and ensure that
the macro like VTK_MAJOR_VERSION and VTK_MINOR_VERSION are defined.

Following Kitware/VTK@d933bb849 (vtkDeprecation: remove symbols deprecated
in 9.1), the "vtkDeprecation.h" header (itself including "vtkVersionMacros.h"
was removed from "vtkOpenGLRenderWindow.h". This commit fixes the related
build errors by explicitly including "vtkVersion.h" and ensure that
the macro like VTK_MAJOR_VERSION and VTK_MINOR_VERSION are defined.
@jcfr jcfr merged commit 25ffa49 into commontk:master Oct 7, 2022
@jcfr jcfr deleted the explicitly-include-vtkVersion-support-vtk-greater-9.1 branch October 7, 2022 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant