The following issues came up when I tried to install vtk to an Ubuntu box,<br><br>Linking CXX executable ../../../bin/GraphicsCxxTests<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShaderProgram.o): In function `printOglError(char*, int)&#39;:<br>

vtkGLSLShaderProgram.cxx:(.text+0x162e): undefined reference to `glGetError&#39;<br>vtkGLSLShaderProgram.cxx:(.text+0x1663): undefined reference to `glGetError&#39;<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkOpenGLExtensionManager.o): In function `vtkOpenGLExtensionManager::ExtensionSupported(char const*)&#39;:<br>

vtkOpenGLExtensionManager.cxx:(.text+0x4551): undefined reference to `glGetString&#39;<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o): In function `vtkGLSLShader::SetUniformParameter(char const*, int, float const*)&#39;:<br>

vtkGLSLShader.cxx:(.text+0xe5d): undefined reference to `glGetError&#39;<br>vtkGLSLShader.cxx:(.text+0x1266): undefined reference to `glGetError&#39;<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o): In function `vtkGLSLShader::SetUniformParameter(char const*, int, int const*)&#39;:<br>

vtkGLSLShader.cxx:(.text+0x140b): undefined reference to `glGetError&#39;<br>vtkGLSLShader.cxx:(.text+0x181a): undefined reference to `glGetError&#39;<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o): In function `GLSLprintOglError(char const*, int)&#39;:<br>

vtkGLSLShader.cxx:(.text+0x1840): undefined reference to `glGetError&#39;<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o):vtkGLSLShader.cxx:(.text+0x1875): more undefined references to `glGetError&#39; follow<br>/opt/Vtk/src/bin/libvtkRendering.a(vtkCompositePainter.o): In function `vtkCompositePainter::RenderInternal(vtkRenderer*, vtkActor*, unsigned long, bool)&#39;:<br>

vtkCompositePainter.cxx:(.text+0x562): undefined reference to `glMaterialfv&#39;<br>vtkCompositePainter.cxx:(.text+0x57d): undefined reference to `glMaterialfv&#39;<br>vtkCompositePainter.cxx:(.text+0x598): undefined reference to `glMaterialfv&#39;<br>

/opt/Vtk/src/bin/libvtkftgl.a(FTGLPixmapFontRenderOpenGL.o): In function `FTGLPixmapFont::RenderOpenGL(wchar_t const*, FTGLRenderContext const*)&#39;:<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0xe): undefined reference to `glPushClientAttrib&#39;<br>

FTGLPixmapFontRenderOpenGL.cpp:(.text+0x1a): undefined reference to `glPushAttrib&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0x2e): undefined reference to `glPixelStorei&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0x3a): undefined reference to `glEnable&#39;<br>

FTGLPixmapFontRenderOpenGL.cpp:(.text+0x4e): undefined reference to `glBlendFunc&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0x5a): undefined reference to `glDisable&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0x78): undefined reference to `glPopAttrib&#39;<br>

FTGLPixmapFontRenderOpenGL.cpp:(.text+0x7d): undefined reference to `glPopClientAttrib&#39;<br>/opt/Vtk/src/bin/libvtkftgl.a(FTGLPixmapFontRenderOpenGL.o): In function `FTGLPixmapFont::RenderOpenGL(char const*, FTGLRenderContext const*)&#39;:<br>

FTGLPixmapFontRenderOpenGL.cpp:(.text+0x92): undefined reference to `glPushClientAttrib&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0x9e): undefined reference to `glPushAttrib&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0xb2): undefined reference to `glPixelStorei&#39;<br>

FTGLPixmapFontRenderOpenGL.cpp:(.text+0xbe): undefined reference to `glEnable&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0xd2): undefined reference to `glBlendFunc&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0xde): undefined reference to `glDisable&#39;<br>

FTGLPixmapFontRenderOpenGL.cpp:(.text+0xfc): undefined reference to `glPopAttrib&#39;<br>FTGLPixmapFontRenderOpenGL.cpp:(.text+0x101): undefined reference to `glPopClientAttrib&#39;<br>/opt/Vtk/src/bin/libvtkftgl.a(FTPixmapGlyphRenderOpenGL.o): In function `FTPixmapGlyph::RenderOpenGL(FT_Vector_ const&amp;, FTGLRenderContext const*)&#39;:<br>

FTPixmapGlyphRenderOpenGL.cpp:(.text+0x6a): undefined reference to `glBitmap&#39;<br>FTPixmapGlyphRenderOpenGL.cpp:(.text+0x9c): undefined reference to `glDrawPixels&#39;<br>FTPixmapGlyphRenderOpenGL.cpp:(.text+0x10b): undefined reference to `glBitmap&#39;<br>

/opt/Vtk/src/bin/libvtkftgl.a(FTPixmapGlyphRenderOpenGL.o): In function `FTPixmapGlyph::GetCurrentColorOpenGL(float*, FTGLRenderContext const*)&#39;:<br>FTPixmapGlyphRenderOpenGL.cpp:(.text+0x127): undefined reference to `glGetFloatv&#39;<br>

collect2: ld returned 1 exit status<br>make[2]: *** [bin/GraphicsCxxTests] Error 1<br>make[1]: *** [Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all] Error 2<br>make: *** [all] Error 2<br><br>Any helps will be appreciated!<br>