[vtkusers] tkAppInit build error
Edward Bachta
ebachta at ncsa.uiuc.edu
Thu Jun 6 12:16:45 EDT 2002
I'm having trouble building a version of VTK that I checked out from CVS
yesterday (6/5/02). I have version 8.3.1 of Tcl/Tk, and when the build
gets into the Wrapping directory I'm getting this error:
c++ -rdynamic tkAppInit.o -L/usr/local/src/VTK/bin -lpthread -ldl -lm
-lvtkpng -lvtkzlib -lvtkjpeg -lvtktiff -lvtkexpat -lvtkImagingTCL
-lvtkGraphicsTCL -lvtkIOTCL -lvtkFilteringTCL -lvtkCommonTCL -lvtkIO
-lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkCommon -ltcl -lGL -ltk -lXt
-lSM -lICE -L/usr/X11R6/lib -lX11 -lXext -lvtkRenderingTCL
-lvtkRendering -lvtkPatentedTCL -lvtkPatented -lvtkHybridTCL -lvtkHybrid
-lvtkParallelTCL -lvtkParallel -lvtkRenderingTCL -ltk -lvtkImagingTCL
-lvtkIOTCL -lvtkGraphicsTCL -lvtkFilteringTCL -lvtkCommonTCL -ltcl
-lvtkRendering -lGL -lXt -lSM -lICE -L/usr/X11R6/lib -lX11 -lXext
-lvtkImaging -lvtkIO -lvtktiff -lvtkpng -lvtkzlib -lvtkjpeg -lvtkexpat
-lvtkGraphics -lvtkFiltering -lvtkCommon -lpthread -lm -ldl
-Wl,-rpath,/usr/local/src/VTK/bin -o /usr/local/src/VTK/bin/vtk
tkAppInit.o: In function `main':
tkAppInit.o(.text+0x1a): undefined reference to `Tk_Main'
/usr/local/src/VTK/bin/libvtkRenderingTCL.so: undefined reference to
`tkMainWindowList'
collect2: ld returned 1 exit status
gmake[3]: *** [/usr/local/src/VTK/bin/vtk] Error 1
gmake[2]: *** [default_target] Error 2
gmake[1]: *** [default_target_Wrapping_Tcl] Error 2
gmake: *** [default_target] Error 2
This is using gcc 2.9.6 on Red Hat Linux 7.1
Has anyone seen this before or have any advice? I want to use ParaView,
and I've heard that it works with Tcl/Tk 8.3.1. If it works with more
recent versions as well, maybe upgrading Tcl/Tk would solve the problem.
Thanks.
_______________
Ed Bachta
bachta at uiuc.edu
More information about the vtkusers
mailing list