python - qml: vtkOpenGLRenderWindow => GLEW could not be initialized: Missing GL version
I tried to update this QML-VTK project from Dao Duc Tung to the current VTK 9.3.0
& Pyide 6.6.0
versions fork.
I run the script on two machines (NVIDIA GTX 4060Ti & NVIDIA RTX A500) with Python 3.11.6
.
The error: [C2873040]vtkOpenGLRenderWindow.c:704 ERR| vtkGenericOpenGLRenderWindow (0x2d71030): GLEW could not be initialized: Missing GL version
is always shown but
- On Linux the project works (content is rendered) with the
vtk.vtkExternalOpenGLRenderWindow()
, but not with thevtk.vtkGenericOpenGLRenderWindow()
. - On Windows the RenderWindow does not show the content at all.
The error appeares when the RenderWindow wanted to call the OpenGLInitContext().
I also tried to use the QVTKRenderWindowInteractor()
as RenderWindowInteractor, but the same behavior