[Paraview] Problems with hdf5_zlib.h: vtk_zlib.h is pointed instead of zlib.h

Daniel Tourde ted at foi.se
Fri Jul 21 08:26:27 EDT 2006


Hello,

My first patch gave the expect result. No more issue with vtk_zlib.h with the 
flag VTK_SYSTEM_ZLIB on. I don't know if I solved it the right way but at 
least the problem is gone...

Something else popped up: I had some issue within GUI/Widgets with vtkpng (not 
exisiting, in my case, because I use VTK_SYSTEM_PNG).

To solve this I think the following patch should do the trick:
# diff CMakeLists.txt CMakeLists.txt.org
400,404c400
< IF(VTK_USE_SYSTEM_PNG)
<   TARGET_LINK_LIBRARIES (KWWidgets png)
< ELSE(VTK_USE_SYSTEM_PNG)
<   TARGET_LINK_LIBRARIES (KWWidgets vtkpng)
< ENDIF(VTK_USE_SYSTEM_PNG)
---
> TARGET_LINK_LIBRARIES (KWWidgets vtkpng)
# pwd
/root/paraview-2.4.4/GUI/Widgets


		Daniel
-- 
**********************************************************************
Daniel TOURDE                            E-mail : daniel.tourde at foi.se
                                            Tel : +46 (0)8-55 50 32 12
                                            Fax : +46 (0)8-55 50 30 68
                                       Cellular :  +46 (0)70-849 93 40
FOI, Swedish Defence Research Agency; Systemteknik
Department of Aviation Environmental Research
SE-164 90 Stockholm, Sweden
**********************************************************************


More information about the ParaView mailing list