我在 Ubuntu 10.04 上使用 Qt。在程序安装过程之后,我尝试按照此处 [http://www.vtk.org/Wiki/VTK/Examples/Instructions/ForUsers] 中的说明使用 vtk 示例对其进行测试。
但它给出了一个错误,如:
Starting /home/taha/Downloads/VTK/Examples/Tutorial/Step1/Cxx/Cone...
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
ERROR: In /home/taha/Downloads/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 398
vtkXOpenGLRenderWindow (0x9812928): Could not find a decent visual
The program has unexpectedly finished.
/home/taha/Downloads/VTK/Examples/Tutorial/Step1/Cxx/Cone exited with code 0
如何解决这个问题?