vtk运行时出现"with the gpu_shader4 extension is not supported"
来源:互联网 发布:营销软件uurjz 编辑:程序博客网 时间:2024/05/29 14:47
vtk7.0已经配置好,但在运行时奔溃。
打开安装解压目录下的…\VTKsourcecode\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx文件,在545行发现如下代码:
if (!GLEW_VERSION_3_2) { if (!GLEW_VERSION_2_1 || !GLEW_EXT_gpu_shader4) { vtkErrorMacro("GL version 2.1 with the gpu_shader4 extension is not " "supported by your graphics driver but is required for the new " "OpenGL rendering backend. Please update your OpenGL driver. " "If you are using Mesa please make sure you have version 10.6.5 or " "later and make sure your driver in Mesa supports OpenGL 3.2."); return; } vtkWarningMacro( "VTK is designed to work with OpenGL version 3.2 but it appears " "it has been given a context that does not support 3.2. VTK will " "run in a compatibility mode designed to work with OpenGL 2.1 but " "some features may not work."); } else { this->SetContextSupportsOpenGL32(true); }
即vtk7.0只支持“显卡支持openGL 3.2”的笔记本。
可以使用“everest”软件查看自己的显卡支持最高openGL版本。
如图所示,由于本人的笔记本不支持openGL3.2,所以无法运行程序。
经测试,vtk (6.3.0)版本以上都需要openGL3.2支持的显卡
1 0
- vtk运行时出现"with the gpu_shader4 extension is not supported"
- mayavi运行出现with the gpu_shader4 extension is not supported
- GL version 2.1 with the gpu_shader extension is not supported...
- ROS 运行 openni_tracker 出现 USB interface is not supported!
- websocket 解决 The extension [x-webkit-deflate-frame] is not supported 问题
- IOS 从网上下载的项目,运行时出现“The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update y”
- 在GitHub上下载Demo 运行时候会出现The sandbox is not sync with the Podfile.lock
- 当编写Servlet时出现type Status report message HTTP method GET is not supported by this URL description The
- The specified system/compiler is not supported
- The specified system/compiler is not supported
- The specified system/compiler is not supported
- VC++6.0出现no compile tool is associated with the extension.解决方法
- Linux系统下出现"The ext4 file system is not supported by you system""
- Linux 下安装QT出现The specified system/compiler is not supported错误
- phpmyadmin 出现The mbstring extension is missing
- eclipse新建web项目运行时出现The requested resource is not available异常
- eclipse新建web项目运行时出现The requested resource is not available异常
- eclipse新建web项目运行时出现The requested resource is not available异常
- maven 项目 cxf+spring 发布rest风格webservice
- top k问题
- request和response
- Java运算符优先级问题
- 59_Service相关细节
- vtk运行时出现"with the gpu_shader4 extension is not supported"
- (使用Wordpress自带的IXR发布新文章)Using XML-RPC in WordPress
- 60_四种动画
- 概率论:假设检验
- Dubbo环境搭建之二 调用者
- 拼写检查 二
- 61_关联V4包两种方法
- 高光谱图像处理(5)----ENVI直方图实用教程(二)
- 线程总结