Hi,<br><br>I am trying to install VTK on Red Hat Enterprise Linux 6 with an ATI graphics card. I have installed the graphics card drivers and glxinfo gives me a value of 1 for &#39;direct rendering&#39;. I am assuming it means OpenGL is installed correctly. The ATI Catalyst shows that the OpenGL version is 3.3.10750 Compatibility Profile Context. <br>

<br>First of all, running CMake on VTK gave me an error that it cannot read <b>/usr/include/GL/glx.h</b>. I checked and found that I have glxATI.h and glATI.h instead of glx.h and gl.h respectively. Hence, I created symbolic links to the respective files. This got rid of the CMake error but when building VTK I get a bunch of errors:<br>

<br>*********************************************************************************************************************<br> Building CXX object Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp: In member function ‘void FTBitmapGlyph::RenderOpenGL(const FT_Vector&amp;, const FTGLRenderContext*)’:<br>/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:15: error: ISO C++ forbids declaration of ‘type name’ with no type<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:15: error: ISO C++ forbids declaration of ‘type name’ with no type<br>/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:15: error: expected primary-expression before ‘const’<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:15: error: expected ‘)’ before ‘const’<br>/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:17: error: ISO C++ forbids declaration of ‘type name’ with no type<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:17: error: ISO C++ forbids declaration of ‘type name’ with no type<br>/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:17: error: expected primary-expression before ‘const’<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:17: error: expected ‘)’ before ‘const’<br>/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:20: error: ISO C++ forbids declaration of ‘type name’ with no type<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:20: error: ISO C++ forbids declaration of ‘type name’ with no type<br>/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:20: error: expected primary-expression before ‘const’<br>

/no_backup/VTK/Source/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:20: error: expected ‘)’ before ‘const’<br>gmake[2]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o] Error 1<br>gmake[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2<br>

gmake: *** [all] Error 2<br>***********************************************************************************************************************<br><br>Please let me know what is the problem. Has anyone faced a similar problem and is there another workaround to this? Any help is greatly appreciated.<br>

<br>Thanks in advance.<br><br>Sankhesh<br>