----- 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).

Do the test scripts pass when using cmake ?

I have now successfully built a 32-bit build and 64-bit build of 1.8.9-pre1 using './configure .....' (by hacking various .c files). By "successfully" I mean that everything built ok, and the libraries are usable for my purposes - but I didn't get far with 'make check' as testhdf5.exe crashes. Perhaps it's just a test that ought to be skipped on Windows ... or perhaps it's something more sinister than that.

The hacks I've made have been fairly simple, but having to make those small amendments to the following files is tedious, nonetheless:

hdf5-1.8.9-pre1\perform\sio_engine.c
hdf5-1.8.9-pre1\src\H5FDdirect.c
hdf5-1.8.9-pre1\src\H5FDmpiposix.c
hdf5-1.8.9-pre1\src\H5FDstdio.c
hdf5-1.8.9-pre1\test\h5test.c
hdf5-1.8.9-pre1\test\links.c
hdf5-1.8.9-pre1\test\links_env.c
hdf5-1.8.9-pre1\test\tfile.c
hdf5-1.8.9-pre1\tools\h5ls\h5ls.c

Obviously, the correct way to fix these problems is to fix the configure process - but, in the meantime, I've no objection to using cmake if the job can easily be done that way.

I'll see if I can make improvements to 'configure' ... but don't hold your breath.

Cheers,
Rob

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to