Re: Compiling h5utils

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Jul 17, 2008, at 12:33 PM, True Merrill wrote:
> The compiler (gcc 4.3.2) complains about undefined reference to  
> `H5Dopen1', `H5Eget_auto1' ... etc. in the file arrayh5.c.  I've  
> searched the code - there is plenty of reference to `H5Dopen', but  
> never to `H5Dopen1' or anything like that (I don't claim to be an  
> expert on C, but that in itself seems very unusual).

Probably you upgraded HDF5 to version 1.8, which changed the API (and  
defined a bunch of macros to rename H5Dopen to H5Dopen1 etc., with  
different numbers of arguments, hence the compiler complaints).

If you download h5utils 1.11.1 (the latest version), it should detect  
HDF5 1.8 and compile correctly.

Steven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.