[vtkusers] Compile Error

Brad King brad.king at kitware.com
Thu Sep 9 08:22:13 EDT 2004


Anthony McCormick wrote:
> Brad,
> 
>     I am building VTK 4.4.2
>     I am developing on a Mac OSX 10.3.5
>     I am using gcc
> 
> [Anthony-McCormicks-G5:/Develop/VTKBuild] anthonym% gcc -v
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
> Thread model: posix
> gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)
> 
>  From the CMakeCache.txt file,
> 
> //Use the system's zlib library.
> VTK_USE_SYSTEM_ZLIB:BOOL=OFF

Switching VTK_USE_SYSTEM_ZLIB to ON should solve the problem.  The CVS 
version of VTK fixes this error and allows VTK_USE_SYSTEM_ZLIB to be OFF 
on the Mac but version 4.4 did not include these changes.

-Brad



More information about the vtkusers mailing list