[vtkusers] DICOM -VTK - Qt Creator

Alan Smithee xtreme2k2 at web.de
Fri Feb 17 08:40:55 EST 2012


Hello Brenno!

have you made your LIBS variable aware of the VTK libraries?

Am 17.02.2012 13:45, schrieb Brenno Ribeiro:
> I would like some pieces of code that i can see some dicom image. But 
> to begin all i'm trying to build the first vtk's example to learn how 
> to deal with it.
> And I'm getting erros like this trying to build the first example on 
> this page http://www.vtk.org/VTK/help/examplecode.html. (Using Qt 
> Creator in Mint12 - 64 bits and not windows system anymore).
>
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:141: 
> undefined reference to `glGetIntegerv'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:151: 
> undefined reference to `glMatrixMode'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:152: 
> undefined reference to `glPushMatrix'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:153: 
> undefined reference to `glTranslated'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:156: 
> undefined reference to `glMatrixMode'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:157: 
> undefined reference to `glPopMatrix'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:161: 
> undefined reference to `glMatrixMode'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:162: 
> undefined reference to `glPushMatrix'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:163: 
> undefined reference to `glTranslated'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:166: 
> undefined reference to `glMatrixMode'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.cxx:167: 
> undefined reference to `glPopMatrix'
> /usr/local/lib/vtk-5.8/libvtkRendering.a(vtkOpenGLDisplayListPainter.cxx.o): 
> In function `vtkOpenGLDisplayListPainter::RenderInternal(vtkRenderer*, 
> vtkActor*, unsigned long, bool)':
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:159: 
> undefined reference to `glGenLists'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:161: 
> undefined reference to `glNewList'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:165: 
> undefined reference to `glEndList'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:181: 
> undefined reference to `glCallList'
> /usr/local/lib/vtk-5.8/libvtkRendering.a(vtkOpenGLDisplayListPainter.cxx.o): 
> In function 
> `vtkOpenGLDisplayListPainter::vtkInternals::ReleaseAllLists(vtkWindow*)':
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:54: 
> undefined reference to `glDeleteLists'
> /usr/local/lib/vtk-5.8/libvtkRendering.a(vtkOpenGLGlyph3DMapper.cxx.o): In 
> function `vtkOpenGLGlyph3DMapper::Render(vtkRenderer*, vtkActor*)':
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:181: 
> undefined reference to `glColorMask'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:294: 
> undefined reference to `glGenLists'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:295: 
> undefined reference to `glNewList'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:327: 
> undefined reference to `glEndList'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:338: 
> undefined reference to `glCallList'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:346: 
> undefined reference to `glColorMask'
> /usr/local/lib/vtk-5.8/libvtkRendering.a(vtkOpenGLGlyph3DMapper.cxx.o): In 
> function `vtkOpenGLGlyph3DMapper::Render(vtkRenderer*, vtkActor*, 
> vtkDataSet*)':
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:421: 
> undefined reference to `glPushAttrib'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:424: 
> undefined reference to `glBlendFunc'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:563: 
> undefined reference to `glColor4ub'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:586: 
> undefined reference to `glMatrixMode'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:587: 
> undefined reference to `glPushMatrix'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:607: 
> undefined reference to `glMultMatrixf'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:611: 
> undefined reference to `glMatrixMode'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:612: 
> undefined reference to `glPopMatrix'
> /home/brennobr/Util/Vtk/VTK/Rendering/vtkOpenGLGlyph3DMapper.cxx:622: 
> undefined reference to `glPopAttrib'
> /usr/local/lib/vtk-5.8/libvtkRendering.a(vtkOpenGLGlyph3DMapper.cxx.o): In 
> function `vtkOpenGLGlyph3DMapper::ReleaseList()':
> -- 
> Brenno Bernardes Ribeiro
>
> Engenharia da Computação
> Universidade Federal do Pará
>
>
>
> _______________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120217/37beed4a/attachment.htm>


More information about the vtkusers mailing list