[vtkusers] Problems building support for Xdmf2 on VTK 7.1

Patricio Palma C. patriciop at gmail.com
Mon Jan 2 20:54:51 EST 2017


Hi experts
Does anybody has information about the issue mentioned below building Xdmf2
driver using gzip ?

Thanks
Patricio

El vie., 23 de dic. de 2016 a la(s) 22:00, Patricio Palma C. <
patriciop at gmail.com> escribió:

> 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!
>
>
>
-- 
--
Patricio Palma Contreras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170103/d1b8dea0/attachment.html>


More information about the vtkusers mailing list