[vtkusers] issues when install vtk to Ubuntu

ken wastrel at gmail.com
Sat May 16 21:06:10 EDT 2009


The following issues came up when I tried to install vtk to an Ubuntu box,

Linking CXX executable ../../../bin/GraphicsCxxTests
/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShaderProgram.o): In function
`printOglError(char*, int)':
vtkGLSLShaderProgram.cxx:(.text+0x162e): undefined reference to `glGetError'
vtkGLSLShaderProgram.cxx:(.text+0x1663): undefined reference to `glGetError'
/opt/Vtk/src/bin/libvtkRendering.a(vtkOpenGLExtensionManager.o): In function
`vtkOpenGLExtensionManager::ExtensionSupported(char const*)':
vtkOpenGLExtensionManager.cxx:(.text+0x4551): undefined reference to
`glGetString'
/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o): In function
`vtkGLSLShader::SetUniformParameter(char const*, int, float const*)':
vtkGLSLShader.cxx:(.text+0xe5d): undefined reference to `glGetError'
vtkGLSLShader.cxx:(.text+0x1266): undefined reference to `glGetError'
/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o): In function
`vtkGLSLShader::SetUniformParameter(char const*, int, int const*)':
vtkGLSLShader.cxx:(.text+0x140b): undefined reference to `glGetError'
vtkGLSLShader.cxx:(.text+0x181a): undefined reference to `glGetError'
/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o): In function
`GLSLprintOglError(char const*, int)':
vtkGLSLShader.cxx:(.text+0x1840): undefined reference to `glGetError'
/opt/Vtk/src/bin/libvtkRendering.a(vtkGLSLShader.o):vtkGLSLShader.cxx:(.text+0x1875):
more undefined references to `glGetError' follow
/opt/Vtk/src/bin/libvtkRendering.a(vtkCompositePainter.o): In function
`vtkCompositePainter::RenderInternal(vtkRenderer*, vtkActor*, unsigned long,
bool)':
vtkCompositePainter.cxx:(.text+0x562): undefined reference to `glMaterialfv'
vtkCompositePainter.cxx:(.text+0x57d): undefined reference to `glMaterialfv'
vtkCompositePainter.cxx:(.text+0x598): undefined reference to `glMaterialfv'
/opt/Vtk/src/bin/libvtkftgl.a(FTGLPixmapFontRenderOpenGL.o): In function
`FTGLPixmapFont::RenderOpenGL(wchar_t const*, FTGLRenderContext const*)':
FTGLPixmapFontRenderOpenGL.cpp:(.text+0xe): undefined reference to
`glPushClientAttrib'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x1a): undefined reference to
`glPushAttrib'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x2e): undefined reference to
`glPixelStorei'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x3a): undefined reference to
`glEnable'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x4e): undefined reference to
`glBlendFunc'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x5a): undefined reference to
`glDisable'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x78): undefined reference to
`glPopAttrib'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x7d): undefined reference to
`glPopClientAttrib'
/opt/Vtk/src/bin/libvtkftgl.a(FTGLPixmapFontRenderOpenGL.o): In function
`FTGLPixmapFont::RenderOpenGL(char const*, FTGLRenderContext const*)':
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x92): undefined reference to
`glPushClientAttrib'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x9e): undefined reference to
`glPushAttrib'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0xb2): undefined reference to
`glPixelStorei'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0xbe): undefined reference to
`glEnable'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0xd2): undefined reference to
`glBlendFunc'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0xde): undefined reference to
`glDisable'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0xfc): undefined reference to
`glPopAttrib'
FTGLPixmapFontRenderOpenGL.cpp:(.text+0x101): undefined reference to
`glPopClientAttrib'
/opt/Vtk/src/bin/libvtkftgl.a(FTPixmapGlyphRenderOpenGL.o): In function
`FTPixmapGlyph::RenderOpenGL(FT_Vector_ const&, FTGLRenderContext const*)':
FTPixmapGlyphRenderOpenGL.cpp:(.text+0x6a): undefined reference to
`glBitmap'
FTPixmapGlyphRenderOpenGL.cpp:(.text+0x9c): undefined reference to
`glDrawPixels'
FTPixmapGlyphRenderOpenGL.cpp:(.text+0x10b): undefined reference to
`glBitmap'
/opt/Vtk/src/bin/libvtkftgl.a(FTPixmapGlyphRenderOpenGL.o): In function
`FTPixmapGlyph::GetCurrentColorOpenGL(float*, FTGLRenderContext const*)':
FTPixmapGlyphRenderOpenGL.cpp:(.text+0x127): undefined reference to
`glGetFloatv'
collect2: ld returned 1 exit status
make[2]: *** [bin/GraphicsCxxTests] Error 1
make[1]: *** [Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all]
Error 2
make: *** [all] Error 2

Any helps will be appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090516/743713a3/attachment.htm>


More information about the vtkusers mailing list