On Apr 19, 2012, at 5:11 AM, Sisyphus wrote: > > ----- Original Message ----- From: "Michael Jackson" > <[email protected]> > To: "HDF Users Discussion List" <[email protected]> > Sent: Wednesday, April 18, 2012 4:57 AM > Subject: Re: [Hdf-forum] HDF5 1.8.9 release candidate is available fortesting > > >> Those wanting MinGW HDF5 compatibility should really consider using CMake to >> configure their build of HDF5. It does work much better than the ./configure >> script. >> > > Hard to believe that anything could possibly work *worse* ;-) > > I do have cmake-2.8.1, but have used it to build plplot only and am not all > that familiar with it. > > Are there any step-by-step instructions for building HDF5 with cmake and > mingw ? ... or is it just a matter of following the usual procedure (whatever > that might be).
If you are using an MSys Shell or MinGW shell it should be something like this: >From a MinGW shell [hdf5-1.8.9_Source] $ mkdir Build [hdf5-1.8.9_Source] $ cd Build [hdf5-1.8.9_Source] $ cmake -G "MinGW Makefiles" ../ [hdf5-1.8.9_Source] $ make <== Or you probably have to use the "minGW-make.exe" instead >From a MSys Shell [hdf5-1.8.9_Source] $ mkdir Build [hdf5-1.8.9_Source] $ cd Build [hdf5-1.8.9_Source] $ cmake -G "MSys Makefiles" ../ [hdf5-1.8.9_Source] $ make That _should_ get you there. Having said that I have not tried to build under MinGW in a LONG time. The last time I tried it was around version 1.8.0 or so. ----- Mike Jackson _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
