[vtkusers] System Zlib -> metaio doesn't seem to work

Atwood, Robert C r.atwood at imperial.ac.uk
Tue Jul 31 13:05:45 EDT 2007


Hi,
If I build VTK (current cvs ) using 'use-system-zlib' option, my
application does not compile. However, if the option is 'off' then it
compiles. That does not seem right, if the option is available it should
function shouldn't it?

It's on Redhat EL4 Gnu/Linux on a 64bit system

Robert

Here's the messages:


/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x667): In
function `vtkmetaio::MET_PerformCompression(unsigned char const*, int,
unsigned int*)':
: undefined reference to `vtk_zlib_deflateInit_'
/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x6a0): In
function `vtkmetaio::MET_PerformCompression(unsigned char const*, int,
unsigned int*)':
: undefined reference to `vtk_zlib_deflate'
/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x6c9): In
function `vtkmetaio::MET_PerformCompression(unsigned char const*, int,
unsigned int*)':
: undefined reference to `vtk_zlib_deflate'
/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x6f2): In
function `vtkmetaio::MET_PerformCompression(unsigned char const*, int,
unsigned int*)':
: undefined reference to `vtk_zlib_deflateEnd'
/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x764): In
function `vtkmetaio::MET_PerformUncompression(unsigned char const*, int,
unsigned char*, int)':
: undefined reference to `vtk_zlib_inflateInit_'
/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x781): In
function `vtkmetaio::MET_PerformUncompression(unsigned char const*, int,
unsigned char*, int)':
: undefined reference to `vtk_zlib_inflate'
/usr/local/bin/../lib/libvtkmetaio.a(metaUtils.o)(.text+0x78d): In
function `vtkmetaio::MET_PerformUncompression(unsigned char const*, int,
unsigned char*, int)':
: undefined reference to `vtk_zlib_inflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [dumbera] Error 1
make[1]: *** [CMakeFiles/dumbera.dir/all] Error 2
make: *** [all] Error 2



More information about the vtkusers mailing list