[vtkusers] issues when install vtk to Ubuntu
Shakes
Shekhar.Chandra at sci.monash.edu.au
Mon May 18 02:05:45 EDT 2009
Hi
Have u tried to install VTK from Synaptic (VTK is in the repository). It
will be much easier and will install all dependencies. Also ensure ur
graphics drivers are working (type "glxinfo" in terminal).
HTH
Cheers
Shakes
ken wrote:
> 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!
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Shekhar_Chandra.vcf
Type: text/x-vcard
Size: 247 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090518/eb50c750/attachment.vcf>
More information about the vtkusers
mailing list