Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,842
    • Issues 1,842
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #18649
Closed
Open
Created Dec 05, 2018 by t-bltg@neok-m4700

Fail to build with Qt 5.12.0, linux Ubuntu 18.04

I got the following error when starting paraview 5.6.0 compiled against Qt 5.12.0:

$ paraview
ERROR: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 736
vtkGenericOpenGLRenderWindow (0x3b2a550): GLEW could not be initialized.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 491
vtkShaderProgram (0x40f0850): Shader object was not initialized, cannot attach it.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x40f0850): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: //VTK::PositionVC::Dec
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: 
49: // Apple Bug
50: //VTK::PrimID::Dec
51: 
52: // Value raster
53: //VTK::ValuePass::Dec
54: 
55: // picking support
56: //VTK::Picking::Dec
57: 
58: void main()
59: {
60:   //VTK::Color::Impl
61: 
62:   //VTK::Normal::Impl
63: 
64:   //VTK::TCoord::Impl
65: 
66:   //VTK::Clip::Impl
67: 
68:   //VTK::PrimID::Impl
69: 
70:     gl_Position = MCDCMatrix * vertexMC;
71: 
72: 
73:   //VTK::ValuePass::Impl
74: 
75:   //VTK::Light::Impl
76: 
77:   //VTK::Picking::Impl
78: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x40f0850): 

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x40f0850): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: //VTK::PositionVC::Dec
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: 
49: // Apple Bug
50: //VTK::PrimID::Dec
51: 
52: // Value raster
53: //VTK::ValuePass::Dec
54: 
55: // picking support
56: //VTK::Picking::Dec
57: 
58: void main()
59: {
60:   //VTK::Color::Impl
61: 
62:   //VTK::Normal::Impl
63: 
64:   //VTK::TCoord::Impl
65: 
66:   //VTK::Clip::Impl
67: 
68:   //VTK::PrimID::Impl
69: 
70:     gl_Position = MCDCMatrix * vertexMC;
71: 
72: 
73:   //VTK::ValuePass::Impl
74: 
75:   //VTK::Light::Impl
76: 
77:   //VTK::Picking::Impl
78: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x40f0850): 

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 491
vtkShaderProgram (0x46fb570): Shader object was not initialized, cannot attach it.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x46fb570): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49: 
50: // Apple Bug
51: //VTK::PrimID::Dec
52: 
53: // Value raster
54: //VTK::ValuePass::Dec
55: 
56: // picking support
57: //VTK::Picking::Dec
58: 
59: void main()
60: {
61:   //VTK::Color::Impl
62: 
63:   //VTK::Normal::Impl
64: 
65:   //VTK::TCoord::Impl
66: 
67:   //VTK::Clip::Impl
68: 
69:   //VTK::PrimID::Impl
70: 
71:   vertexVCVSOutput = MCVCMatrix * vertexMC;
72:   gl_Position = MCDCMatrix * vertexMC;
73: 
74: 
75:   //VTK::ValuePass::Impl
76: 
77:   //VTK::Light::Impl
78: 
79:   //VTK::Picking::Impl
80: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x46fb570): 

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x46fb570): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49: 
50: // Apple Bug
51: //VTK::PrimID::Dec
52: 
53: // Value raster
54: //VTK::ValuePass::Dec
55: 
56: // picking support
57: //VTK::Picking::Dec
58: 
59: void main()
60: {
61:   //VTK::Color::Impl
62: 
63:   //VTK::Normal::Impl
64: 
65:   //VTK::TCoord::Impl
66: 
67:   //VTK::Clip::Impl
68: 
69:   //VTK::PrimID::Impl
70: 
71:   vertexVCVSOutput = MCVCMatrix * vertexMC;
72:   gl_Position = MCDCMatrix * vertexMC;
73: 
74: 
75:   //VTK::ValuePass::Impl
76: 
77:   //VTK::Light::Impl
78: 
79:   //VTK::Picking::Impl
80: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x46fb570): 

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x46fb570): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49: 
50: // Apple Bug
51: //VTK::PrimID::Dec
52: 
53: // Value raster
54: //VTK::ValuePass::Dec
55: 
56: // picking support
57: //VTK::Picking::Dec
58: 
59: void main()
60: {
61:   //VTK::Color::Impl
62: 
63:   //VTK::Normal::Impl
64: 
65:   //VTK::TCoord::Impl
66: 
67:   //VTK::Clip::Impl
68: 
69:   //VTK::PrimID::Impl
70: 
71:   vertexVCVSOutput = MCVCMatrix * vertexMC;
72:   gl_Position = MCDCMatrix * vertexMC;
73: 
74: 
75:   //VTK::ValuePass::Impl
76: 
77:   //VTK::Light::Impl
78: 
79:   //VTK::Picking::Impl
80: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x46fb570): 

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x46fb570): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49: 
50: // Apple Bug
51: //VTK::PrimID::Dec
52: 
53: // Value raster
54: //VTK::ValuePass::Dec
55: 
56: // picking support
57: //VTK::Picking::Dec
58: 
59: void main()
60: {
61:   //VTK::Color::Impl
62: 
63:   //VTK::Normal::Impl
64: 
65:   //VTK::TCoord::Impl
66: 
67:   //VTK::Clip::Impl
68: 
69:   //VTK::PrimID::Impl
70: 
71:   vertexVCVSOutput = MCVCMatrix * vertexMC;
72:   gl_Position = MCDCMatrix * vertexMC;
73: 
74: 
75:   //VTK::ValuePass::Impl
76: 
77:   //VTK::Light::Impl
78: 
79:   //VTK::Picking::Impl
80: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x46fb570): 

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x46fb570): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9: 
10: 
11: /*=========================================================================
12: 
13:   Program:   Visualization Toolkit
14:   Module:    vtkPolyDataVS.glsl
15: 
16:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17:   All rights reserved.
18:   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19: 
20:      This software is distributed WITHOUT ANY WARRANTY; without even
21:      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22:      PURPOSE.  See the above copyright notice for more information.
23: 
24: =========================================================================*/
25: 
26: in vec4 vertexMC;
27: 
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30: 
31: // optional normal declaration
32: //VTK::Normal::Dec
33: 
34: // extra lighting parameters
35: //VTK::Light::Dec
36: 
37: // Texture coordinates
38: //VTK::TCoord::Dec
39: 
40: // material property values
41: //VTK::Color::Dec
42: 
43: // clipping plane vars
44: //VTK::Clip::Dec
45: 
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49: 
50: // Apple Bug
51: //VTK::PrimID::Dec
52: 
53: // Value raster
54: //VTK::ValuePass::Dec
55: 
56: // picking support
57: //VTK::Picking::Dec
58: 
59: void main()
60: {
61:   //VTK::Color::Impl
62: 
63:   //VTK::Normal::Impl
64: 
65:   //VTK::TCoord::Impl
66: 
67:   //VTK::Clip::Impl
68: 
69:   //VTK::PrimID::Impl
70: 
71:   vertexVCVSOutput = MCVCMatrix * vertexMC;
72:   gl_Position = MCDCMatrix * vertexMC;
73: 
74: 
75:   //VTK::ValuePass::Impl
76: 
77:   //VTK::Light::Impl
78: 
79:   //VTK::Picking::Impl
80: }


ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447 vtkShaderProgram (0x46fb570):

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931
vtkGenericOpenGLRenderWindow (0x3b2a550): Hardware does not support the number of textures defined.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931
vtkGenericOpenGLRenderWindow (0x3b2a550): Hardware does not support the number of textures defined.

Generic Warning: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLRenderTimer.cxx, line 124
vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931
vtkGenericOpenGLRenderWindow (0x3b2a550): Hardware does not support the number of textures defined.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 491
vtkShaderProgram (0x4735910): Shader object was not initialized, cannot attach it.

ERROR: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx, line 280
vtkOpenGLVertexArrayObject (0x4751de0): attempt to add attribute without a program for attribute ndCoordIn

Generic Warning: In <...>/VTK/Rendering/OpenGL2/vtkOpenGLQuadHelper.cxx, line 60
Error binding ndCoords to VAO.

Segmentation fault (core dumped)

The exact same toolchain, but linking against Qt 5.11.3 does not segfault.

System information:

$ gcc --version
gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ glxinfo | grep "^OpenGL \(renderer\|core profile version\|vendor\|version\|core\)"
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 6.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.5

$ lsb_release  -a
LSB Version:	core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic
Edited Dec 05, 2018 by t-bltg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking