[vtkusers] tkAppInit build error
Edward Bachta
ebachta at ncsa.uiuc.edu
Thu Jun 6 17:33:27 EDT 2002
Okay, I figured out what was wrong. I had some old tcl/tk headers in
/usr/local/include that were messing things up.
On Thu, 6 Jun 2002, Edward Bachta wrote:
>
> 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
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Ed Bachta
bachta at uiuc.edu
More information about the vtkusers
mailing list