[vtkusers] Undef. linkage - Vtk 4.0 and Mesa 3.4
Peter F Bradshaw
pfb at exadios.com
Sat Dec 15 21:03:32 EST 2001
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
--
--
Peter F Bradshaw, pfb at exadios.com, ICQ 75431157 (exadios).
http://www.exadios.com
PGP public key at http://www.exadios.com/public_key.html
"Needs more salt" - Archimedes
More information about the vtkusers
mailing list