[vtkusers] Problems building support for Xdmf2 on VTK 7.1
Patricio Palma C.
patriciop at gmail.com
Fri Dec 23 20:00:55 EST 2016
Dear all
I am using VTK 7.1 for saving visualization data using XDMF2 format.
Current files produced are big, so I enabled XDMF_USE GZIP option hoping
that it activates the compression on the .h5 file. However, during
compilation I get error messages due to undefined references (it seems that
XDMF2 is not depending on ZLIB). The compiler output is:
CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::open(char
const*,
int)':
vtk/VTK-7.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:61: undefined
reference to
`gzopen'
CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function
`gzstreambuf::close()':
vtk/VTK-7.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:72: undefined
reference to
`gzclose'
CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function
`gzstreambuf::underflow()':
vtk/VTK-7.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:90: undefined
reference to
`gzread'
CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function
`gzstreambuf::flush_buffer()':
vtk/VTK-7.1.0/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:107: undefined
reference to
`gzwrite'
collect2: error: ld returned 1 exit
status
gmake[2]: *** [lib/libvtkxdmf2-7.1.so.1] Error
1
gmake[1]: ***
[ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/all] Error 2
How can I solve that issue?
What do I have to do so vtkXdmfWriter creates a compressed .h5 file ?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161224/9fbcb91f/attachment.html>
More information about the vtkusers
mailing list