[vtkusers] DICOM -VTK - Qt Creator
Jothybasu Selvaraj
jothybasu at gmail.com
Fri Feb 17 07:50:49 EST 2012
Have you built your vtk using cmake properly?
Jothy
On Fri, Feb 17, 2012 at 12:45 PM, Brenno Ribeiro <brennobr at gmail.com> wrote:
> 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á
>
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120217/774063c9/attachment.htm>
More information about the vtkusers
mailing list