View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003528ParaView(No Category)public2006-07-20 06:482016-08-12 09:57
ReporterDaniel Tourde 
Assigned ToDavid Partyka 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003528: Problems with hdf5_zlib.h: vtk_zlib.h is pointed instead of zlib.h
DescriptionHello,

I am trying to compile "by hand" Paraview 2.4.4 and I encounter a strange problem.

To compile paraview, I follow the installation procedure and under CMAKE (2.4.2) I choose:

BUILD_SHARED_LIBS : ON
VTK_USE_SYSTEM_FREETYPE : ON
VTK_USE_SYSTEM_JPEG : ON
VTK_USE_SYSTEM_PNG : ON
VTK_USE_SYSTEM_TIFF : ON
VTK_USE_SYSTEM_ZLIB : ON

When I build Paraview I then get the following error:
In file included from /root/paraview-2.4.4/Utilities/hdf5/H5Zdeflate.c:30:
/root/paraview-2.4.4-linux/Utilities/hdf5/hdf5_zlib.h:1:22: vtk_zlib.h: No such file or directory

morghaan paraview-2.4.4-linux # cd /root/paraview-2.4.4-linux/Utilities/hdf5/
morghaan hdf5 # more hdf5_zlib.h
#include <vtk_zlib.h>

I have two Gentoo machines at my disposal:
- One with VTK installed: I get this error message (the file is under /usr/include/vtk-5.0 and is apparently never found)
- One without VTK, the file does not even exist...

If I check the source code, I can see that this hdf5_zlib.h is, as a matter of fact, generated automatically:
morghaan hdf5 # more hdf5_zlib.h.in
#include <@HDF5_ZLIB_HEADER@>

where
morghaan hdf5 # more CMakeLists.txt
gives:

IF(NOT HDF5_ZLIB_HEADER)
  SET(HDF5_ZLIB_HEADER "zlib.h")
ENDIF(NOT HDF5_ZLIB_HEADER)
CONFIGURE_FILE(${VTKHDF5_SOURCE_DIR}/hdf5_zlib.h.in
  ${VTKHDF5_BINARY_DIR}/hdf5_zlib.h)


So, I don't really understand why vtk_zlib.h is chosen instead of zlib.h when
I clearly specify the flag...
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0037501)
Kitware Robot (administrator)
2016-08-12 09:57

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-12-09 14:51 Berk Geveci Project @3@ => ParaView
2010-11-17 09:22 David Partyka Assigned To Berk Geveci => David Partyka
2011-06-16 13:10 Zack Galbreath Category => (No Category)
2016-08-12 09:57 Kitware Robot Note Added: 0037501
2016-08-12 09:57 Kitware Robot Status expired => closed
2016-08-12 09:57 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team