On Apr 24, 2008, at 5:07 AM, Koray Sevim wrote:
> I have tried to install mpb and meep on cygwin.  When I tried to  
> install
> h5util it gave me this error message;
>
> make  all-am
> make[1]: Entering directory `/home/koray/mitprogramlari/ 
> h5utils-1.10.1'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT arrayh5.o -MD -MP - 
> MF
> ".deps/arrayh5.Tpo" -c -o arrayh5.o arrayh5.c; \
>        then mv -f ".deps/arrayh5.Tpo" ".deps/arrayh5.Po"; else rm -f
> ".deps/arrayh5.Tpo"; exit 1; fi
> arrayh5.c: In function `arrayh5_read':
> arrayh5.c:221: error: too few arguments to function `H5Dopen2'

In version 1.8.0 the HDF5 developers changed the interface of HDF5 in  
an incompatible way that breaks programs like Meep and h5utils that  
were written against the previous version of the API.

To compile with HDF5 1.8, you have to tell the compiler to use the old  
API, by including -DH5_USE_16_API in the CPPFLAGS.  For example:

        ./configure CPPFLAGS=-DH5_USE_16_API

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to