9.0.0.rc1 ContextOpenGL2 not built

Hi Jennifer, which version do you use? I haven’t tried the latest release. It’s strange if the latest vtk still has this bug. You can add an entry “VTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2” in CMake-Gui when you configure your VTK (not your example). After rebuilding VTK, your example may works.