-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix opengl cmake for latest VTK #69
Conversation
- Instead of adding the definition manually, the recommended practice is to include `vtkRenderingOpenGLConfigure.h`. This is already used in `vtkLookingGlassInterface.cxx`
- This module is no longer available in VTK.
836942e
to
ef4c8be
Compare
ef4c8be
to
a6ce91d
Compare
@sankhesh, Actions are green! could you get someone with access to the device test out this PR? |
@psavery has a device to test with. |
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.
LGTM
I'll give it a quick try |
This worked for me, although I'll note that my device is no longer supported by Looking Glass, and I have to use an older version of their service that they don't support anymore either. However, since this PR is not intending to upgrade to their newer versions of the API, it looks good to me! Merge when ready. |
Thanks for testing @psavery! Can someone with write access please merge this PR? |
This PR updates the CMake and
vtk.module
files.VTK_USE_COCOA
macro. The previous approach is not the recommended way.VTK::opengl
. The dependency onVTK::RenderingOpenGL2
should've been sufficient.