[Paraview] 3.4.0 compilation broken due to xdfm / old hdf5

Dominik Szczerba dominik at itis.ethz.ch
Sun Jan 18 07:38:51 EST 2009


PV 3.4.0 + bundled hdf5 tandem is buggy somewhere, as reported long ago,
so I need a newer ("system") version of hdf5. However, compiling both
with hdf5 1.8.x and 1.6.8 breaks the compilation, e.g. errors with
1.6.8:

In file included
from /home/domel/pack/ParaView-3.4.0/Utilities/Xdmf2/libsrc/XdmfArray.h:29,

from /home/domel/pack/ParaView-3.4.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:26:
/home/domel/pack/ParaView-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:
In member function ‘XdmfInt32 XdmfDataDesc::SetHeavyDataSetName(const
char*)’:
/home/domel/pack/ParaView-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:198: error: ‘strcmp’ was not declared in this scope
/home/domel/pack/ParaView-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:198: error: ‘strlen’ was not declared in this scope
/home/domel/pack/ParaView-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:198: error: ‘strcpy’ was not declared in this scope
(...)

The simplest solution for me would be disabling Xdfm (the only user of
hdf5 in PV) that I don't need, but it is not possible, it is referenced
in the server code.

1) can xdfm be disabled at option?

2) how can I compile with a newer version of hdf5?

Thanks,
Dominik



More information about the ParaView mailing list