[vtkusers] Undef. linkage - Vtk 4.0 and Mesa 3.4

J.A. Lee jeff at cdnorthamerica.com
Mon Dec 17 18:33:51 EST 2001


I don't see a -lGL in the link line.
-Jeff

Peter F Bradshaw wrote:

>Hi All;
>
>I'm attempting to compile Vtk 4.0 and link it against
>Mesa 3.4. When it comes time to link up "vtk" I get the
>following:
>
>c++ -rdynamic -g -O2 tkAppInit.o  -L/home/pfb/src/ParaViewComplete/bin/ -L/home/pfb/src/ParaViewComplete/tcl8.2.3/unix -L/usr/local/Mesa/lib -L/home/pfb/src/ParaViewComplete/tk8.2.3/unix -lpng -lzlib -lvtkjpeg -lpthread -ldl -lm -lvtkImagingTCL -lvtkGraphicsTCL -lvtkIOTCL -lvtkFilteringTCL -lvtkCommonTCL -lvtkIO -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkCommon -ltcl8.2 -ltk8.2 -lXt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext  -lvtkRenderingTCL -lvtkRendering -lvtkHybridTCL -lvtkHybrid -lvtkParallelTCL -lvtkParallel -lpng -lzlib -lvtkjpeg -lpthread -ldl -lm -lvtkImagingTCL -lvtkGraphicsTCL -lvtkIOTCL -lvtkFilteringTCL -lvtkCommonTCL -lvtkIO -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkCommon -ltcl8.2 -ltk8.2 -lXt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext  -lvtkRenderingTCL -lvtkRendering -lvtkHybridTCL -lvtkHybrid -lvtkParallelTCL -lvtkParallel -Wl,-rpath,/home/pfb/src/ParaViewComplete/bin/:/home/pfb/src/ParaViewComplete/tcl8.2.3/unix:/usr/local/Mesa/lib:/home/pfb/src/!
>Pa!
>raViewComplete/tk8.2.3/unix  -o /home/pfb/src/ParaViewComplete/bin/vtk
>/home/pfb/src/ParaViewComplete/bin//libvtkRendering.a(vtkOpenGLActor.o): In function `vtkOpenGLActor::Render(vtkRenderer *, vtkMapper *)':
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:88: undefined reference to `glGetIntegerv'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:95: undefined reference to `glDepthMask'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:122: undefined reference to `glMatrixMode'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:123: undefined reference to `glPushMatrix'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:124: undefined reference to `glMultMatrixd'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:133: undefined reference to `glMatrixMode'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:134: undefined reference to `glPopMatrix'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLActor.cxx:139: undefined reference to `glDepthMask'
>/home/pfb/src/ParaViewComplete/bin//libvtkRendering.a(vtkOpenGLCamera.o): In function `vtkOpenGLCamera::Render(vtkRenderer *)':
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLCamera.cxx:129: undefined reference to `glDrawBuffer'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLCamera.cxx:133: undefined reference to `glViewport'
>/home/pfb/src/ParaViewComplete/VTK/Rendering/vtkOpenGLCamera.cxx:134: undefined reference to `glEnable'
>.
>.
>.
>
>Are Vtk 4.0 and Mesa 3.4 compatible? Has anybody else had this problem?
>Could the problem be something else?
>
>Thanks.
>
>Cheers
>





More information about the vtkusers mailing list