failed to get valid pixel format. GLEW could not be initialized. 解决方法: 查看电脑是否支持OpenGL2以及安装显卡驱动(为这还找了好久的原因) 四、效果展示: 附一张利用VTK将显示界面嵌入MFC的图片。
vtkXOpenGLRenderWindow (0x1e5bde0): GLEW could not be initialized. If instead of a plain ssh connection I use the ThinLinc client, then with vglrun both work. How could I solve/debug this? I'm using VTK 8.1.0 installed with pip, and I've tried differet PyQt4, PyQt5, PySide ...