I have tried compiling pv3.6.2 with my system's hdf5 and have run into the 
following issue:

regardless of what api-version I use to configure & compile hdf5 (v16 or v18), 
I cannot compile pv because of the following error:

/apps-vis/ParaView3-6-2/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:174: error: 
braces around scalar initializer for type ‘herr_t (*)(H5FD_t*, unsigned char*, 
unsigned int, hbool_t)’
Badly placed (.
/apps-vis/ParaView3-6-2/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:174: error: 
invalid conversion from ‘haddr_t (*)(H5FD_t*)’ to ‘herr_t (*)(H5FD_t*, 
H5FD_mem_t, hid_t, haddr_t, hsize_t)’
Badly placed (.

etc.

here is my last config for hdf5:

./configure --enable-parallel --enable-linux-lfs --enable-shared 
--with-default-api-version=v18

The good news:

I was able to make the compilation finish after copying XdmfH5Driver.cxx from 
the CVS version of ParaView. And so far in execution trials, nothing has broken.

Has anyone else seen this? I had initially configured hdf5 with the default 
(i.e without specifying the last option  --with-default-api-version=v??). I 
then tried with v16, and v18, and in both cases, I could not compile, until I 
overwrote the source with the cvs copy.


-----------------
Jean M. Favre
Scientific Computing Research
Swiss National Supercomputing Center
CH-6828 Manno
Switzerland
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to