Unable to compile VTK 5.2 with glext.h from NVIDIA OpenGL linux driver 173.14.12
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
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