[vtkusers] Building VTK 4.4 on Mac OS X 10.2.6 (illegal reference to symbol: _crc32)
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Jan 13 19:27:33 EST 2004
Gordon,
> c++ -Wno-deprecated -no-cpp-precomp -fPIC vtkTkAppInit.o -o
> /Users/gk/vtk/VTK/bin/vtk -L. -L/Users/gk/vtk/VTK/bin -L/usr/X11R6/lib
> -lvtkCommonTCL -lvtkFilteringTCL -lvtkGraphicsTCL -lvtkImagingTCL
> -lvtkIOTCL -lvtkRenderingTCL -lvtkPatentedTCL -lvtkRendering -lvtkftgl
> -lvtkfreetype -framework AGL -framework OpenGL -lSM -lICE -lSM -lICE
> -lX11 -lXext -lX11 -lXext -framework Cocoa -framework Tk -lvtkPatented
> -lvtkIOTCL -lvtkIO -lvtkDICOMParser -lvtkpng -lvtktiff -lvtkzlib
> -lvtkjpeg -lvtkexpat -lvtkGraphicsTCL -lvtkGraphics -lvtkImagingTCL
> -lvtkImaging -lvtkFilteringTCL -lvtkFiltering -lvtkCommonTCL -lvtkCommon
> -framework AppKit -lpthread -lm -framework Tcl
Could you please try adding '-lz' at the end of this line, this should
force linking to zlib.
Mathieu
More information about the vtkusers
mailing list