MantisBT - VTK
View Issue Details
0007604VTK(No Category)public2008-09-04 10:282016-08-12 09:55
Tim H.J.M. Peeters 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
0007604: Unable to compile VTK 5.2 with glext.h from NVIDIA OpenGL linux driver 173.14.12
I changed the path of the glext.h to use with ccmake and compile VTK 5.2. I get the following error:

[ 64%] Building CXX object Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o
In file included from /home/tim/dl/VTK/Rendering/vtkOpenGLExtensionManager.cxx:27:
/home/tim/dl/VTKBuild/Rendering/vtkgl.h:13865: error: expected `)' before ‘;’ token
/home/tim/dl/VTKBuild/Rendering/vtkgl.h:13865: error: expected `)' before ‘;’ token
/home/tim/dl/VTKBuild/Rendering/vtkgl.h:13865: error: typedef declaration invalid in parameter declaration
make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o] Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
make: *** [all] Error 2

I attached the glext.h that I used and the generated vtkgl.h
No tags attached.
? vtkgl.h (627,215) 2008-09-04 10:28
https://www.vtk.org/Bug/file/6701/vtkgl.h
? glext.h (376,506) 2008-09-04 10:30
https://www.vtk.org/Bug/file/6702/glext.h
Issue History
2008-09-04 10:28Tim H.J.M. PeetersNew Issue
2008-09-04 10:28Tim H.J.M. PeetersFile Added: vtkgl.h
2008-09-04 10:30Tim H.J.M. PeetersFile Added: glext.h
2008-09-04 11:04Tim H.J.M. PeetersNote Added: 0013297
2008-09-04 14:20Tim H.J.M. PeetersNote Added: 0013298
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037014
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0013297)
Tim H.J.M. Peeters   
2008-09-04 11:04   
I repeated the compilation with the same settings (examples ON, Qt4 support enabled, and all other settings default) and the glext.h that comes with VTK52.This time there were no compilation problems.
(0013298)
Tim H.J.M. Peeters   
2008-09-04 14:20   
The same problem exists when I use VTK 5.0.3.
(0037014)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.