ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 545
2018-01-23 19:57
453 查看
//—————————————【转自:bai_Dreamer】—————————————-//
ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 545
vtkWin32OpenGLRenderWindow (06FFAC20): 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.
ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 545
vtkWin32OpenGLRenderWindow (06FFAC20): 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.
ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkShaderProgram.cxx, line 369
vtkShaderProgram (0922F2E0): 1: #version 120
2: #extension GL_EXT_gpu_shader4 : require
3: #define highp
4: #define mediump
5: #define lowp
6:
7: /*=========================================================================
8:
9: Program: Visualization Toolkit
10: Module: vtkPolyData2DFS.glsl
11:
12: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13: All rights reserved.
14: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15:
16: This software is distributed WITHOUT ANY WARRANTY; without even
17: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18: PURPOSE. See the above copyright notice for more information.
19:
20: =========================================================================*/
21:
22: uniform int PrimitiveIDOffset;
23:
24: // Texture coordinates
25: varying vec2 tcoordVCVSOutput; uniform sampler2D texture1;
26:
27: // Scalar coloring
28: uniform vec4 diffuseColor;
29:
30: // Depth Peeling
31: //VTK::DepthPeeling::Dec
32:
33: // the output of this shader
34: //VTK::Output::Dec
35:
36: // Apple Bug
37: //VTK::PrimID::Dec
38:
39: void main()
40: {
41: // Apple Bug
42: //VTK::PrimID::Impl
43:
44: gl_FragData[0] = diffuseColor;
45: gl_FragData[0] = gl_FragData[0]*texture2D(texture1, tcoordVCVSOutput.st);
46: //VTK::DepthPeeling::Impl
47: }
48:
这是由于VTK只支持英伟达的显卡。
1.如果出现这种问题,首先确保你有独立显卡(英伟达的)。
2.找开显卡设置面板,将全局设置那一栏下的首先图形处理器设为高性能NVDIA处理器。
【参考:】
http://blog.csdn.net/eggsdandan/article/details/75577561
ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 545
vtkWin32OpenGLRenderWindow (06FFAC20): 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.
ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 545
vtkWin32OpenGLRenderWindow (06FFAC20): 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.
ERROR: In D:\lib\VTK-7.0.0\Rendering\OpenGL2\vtkShaderProgram.cxx, line 369
vtkShaderProgram (0922F2E0): 1: #version 120
2: #extension GL_EXT_gpu_shader4 : require
3: #define highp
4: #define mediump
5: #define lowp
6:
7: /*=========================================================================
8:
9: Program: Visualization Toolkit
10: Module: vtkPolyData2DFS.glsl
11:
12: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13: All rights reserved.
14: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15:
16: This software is distributed WITHOUT ANY WARRANTY; without even
17: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18: PURPOSE. See the above copyright notice for more information.
19:
20: =========================================================================*/
21:
22: uniform int PrimitiveIDOffset;
23:
24: // Texture coordinates
25: varying vec2 tcoordVCVSOutput; uniform sampler2D texture1;
26:
27: // Scalar coloring
28: uniform vec4 diffuseColor;
29:
30: // Depth Peeling
31: //VTK::DepthPeeling::Dec
32:
33: // the output of this shader
34: //VTK::Output::Dec
35:
36: // Apple Bug
37: //VTK::PrimID::Dec
38:
39: void main()
40: {
41: // Apple Bug
42: //VTK::PrimID::Impl
43:
44: gl_FragData[0] = diffuseColor;
45: gl_FragData[0] = gl_FragData[0]*texture2D(texture1, tcoordVCVSOutput.st);
46: //VTK::DepthPeeling::Impl
47: }
48:
这是由于VTK只支持英伟达的显卡。
1.如果出现这种问题,首先确保你有独立显卡(英伟达的)。
2.找开显卡设置面板,将全局设置那一栏下的首先图形处理器设为高性能NVDIA处理器。
【参考:】
http://blog.csdn.net/eggsdandan/article/details/75577561
相关文章推荐
- ERROR: In F:\PCLdon\VTK-7.0.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 545 vtkWin32OpenGLRe
- error: bad top line in state file /var/lib/logrotate.status 解决方法
- %matplotlib inline syntax error
- %matplotlib inline error
- LoadRunner 11压测时碰到错误Error: missing newline in *:\*****\*.dat
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv
- Fatal error: Call to undefined function Think\C() in /var/www/html/ceshi.hzheee.com/think/ThinkPHP/Library/Think/Think.class.php on line 334 这个问题解决
- 关于VC的错误 error LNK2005:xxxx already defined in xxxx.lib
- Error: missing newline in
- zz : A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++ ---- nafxcw.lib(a
- PHP中Notice: unserialize(): Error at offset 109 of 615 bytes in on line 的解决方法
- R语言安装包出现 Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths())错误
- Unable to locate the Javac Compiler in: [ERROR] C:\Program Files\Java\jre7\..\lib\tools.jar
- 报错:An error occurred at line: 22 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
- error: cannot open Packages database in /var/lib/rpm
- uafxcw.lib(dllmodul.obj) : error LNK2005: DllMain already defined in
- An error occurred at line: 307 in the generated java file The code of method _jspService (HttpServle
- pip 错误unused-command-line-argument-hard-error-in-future解决办法
- greta的问题及解决: LIBCMTD.lib(_wctype.obj) : error LNK2005: _iswspace already defined in xxx.obj
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04