[vtk-developers] vtk binary not linking libtiff on debian linux 3.0

Charl P. Botha c.p.botha at its.tudelft.nl
Thu Mar 28 18:26:28 EST 2002


Dear Developers,

Near the end of the VTK build process with a fresh CVS checkout on a Debian
Linux 3.0 (upcoming) I get the error output at the end of this mail. In
order to fix this I had to add -ltiff to the link line in the Makefile.  I
believe this would be fixed more permanently by adding "tiff" to
TARGET_LINK_LIBRARIES in the CMakeLists.txt of VTK/Wrapping/Tcl, in a !WIN32
clause.  Or would that be LINK_LIBRARIES?

Best regards,
Charl

---- ERROR OUTPUT BEGIN
c++ -rdynamic -g -O2 tkAppInit.o  -L/home/cpbotha/build/VTK/bin/ -lvtkpng
-lvtkz
lib -lvtkjpeg -lvtktiff -lpthread -ldl -lm -lvtkImagingTCL -lvtkGraphicsTCL
-lvt
kIOTCL -lvtkFilteringTCL -lvtkCommonTCL -lvtkIO -lvtkGraphics -lvtkImaging
-lvtk
Filtering -lvtkCommon -ltcl8.3 -lGL -ltk8.3 -lXt  -lSM -lICE
-L/usr/X11R6/lib -
lX11 -lXext -lvtkRenderingTCL -lvtkRendering -lvtkPatentedTCL -lvtkPatented
-lvt
kHybridTCL -lvtkHybrid -lvtkpng -lvtkzlib -lvtkjpeg -lvtktiff -lpthread -ldl
-lm
 -lvtkImagingTCL -lvtkGraphicsTCL -lvtkIOTCL -lvtkFilteringTCL
-lvtkCommonTCL -l
vtkIO -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkCommon -ltcl8.3 -lGL
-ltk8.
3 -lXt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -lvtkRenderingTCL
-lvtkRenderi
ng -lvtkPatentedTCL -lvtkPatented -lvtkHybridTCL -lvtkHybrid
-Wl,-rpath,/home/cp
botha/build/VTK/bin/  -o /home/cpbotha/build/VTK/bin/vtk
/home/cpbotha/build/VTK/bin//libvtktiff.so: undefined reference to
TIFFFaxBlack
Table'
/home/cpbotha/build/VTK/bin//libvtktiff.so: undefined reference to
TIFFFaxMainT
able'
/home/cpbotha/build/VTK/bin//libvtktiff.so: undefined reference to
TIFFFaxWhite
Table'
collect2: ld returned 1 exit status
make[3]: *** [/home/cpbotha/build/VTK/bin/vtk] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_Tcl] Error 2
make: *** [default_target] Error 2
----- END

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtk-developers mailing list