[R] Building hdf5 for ms-windows

Laurent Gautier laurent at cbs.dtu.dk
Tue Mar 18 04:03:14 CET 2003

On Mon, Mar 17, 2003 at 06:48:48PM -0800, Gabor Grothendieck wrote:
> I am trying to build hdf5 for ms-windows.  I downloaded the hdf5_1.4.7.tar.gz, gunzipped it and got a tar file.  I extracted everything into a directory tree called hdf5.  I also found a Makevars.win and libhdf5.def in the R help archives from March 2002.  I put those two in hdf5 as well.
> I issued the command     Rcmd build --binary hdf5
> but got this message complaining it can't find hdf5.h along with subsequent errors.
> making DLL ...
> making hdf5.d from hdf5.c
> hdf5.c:24:18: hdf5.h: No such file or directory
> make[2]: *** [hdf5.d] Error 1
> make[1]: *** [src/hdf5.dll] Error 2
> make: *** [pkg-hdf5] Error 2
> make: Leaving directory `/cygdrive/c/PROGRA~1/R/rw1062/src/gnuwin32'
> *** Installation of hdf5 failed ***
> What should I do?
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

If your aim is only to get a working version of a package to have hdf5 functionalities,
you can try the package rhdf5 at www.bioconductor.org (there should be
a MSWindows build).

Hopin' it helps,


currently at the National Yang-Ming University in Taipei, Taiwan
Laurent Gautier			CBS, Building 208, DTU
PhD. Student			DK-2800 Lyngby,Denmark	
tel: +45 45 25 24 89		http://www.cbs.dtu.dk/laurent

More information about the R-help mailing list