Rob, We will be planning the work for the next release in a week and I will propose we add these issues to the configure development.
Would you please send your environment information, because I could not get our MinGW machine (the latest download available a month back) configure to properly generate the H5pubconf.h file (no changes to defines - just copied). >From my searching, it seems to happen often, but I could not find any solution. Worst case, I might need to work with you for testing (send you a private snapshot) our changes? Allen On Friday, April 27, 2012 04:27:54 PM Sisyphus wrote: > ----- Original Message ----- > From: "Allen D Byrne" <[email protected]> > To: "Sisyphus" <[email protected]> > Cc: <[email protected]> > Sent: Wednesday, April 25, 2012 11:12 PM > Subject: Re: [Hdf-forum] Problems compiling hdf5 under MingW: > undefinedreference to 'ftruncated64' > > > Rob, > > > > The defines should be in the generated H5pubconf.h file. However, > > > > because I > > could only successfully test CMake on MinGW, I did not want to insert > > MinGW > > checks into configure and not be able to verify them. End result is that > > those > > defines must be added to your H5pubconf.h. > > Yep - if I manually add defines for both H5_HAVE_WIN32_API and H5_HAVE_MINGW > to H5pubconf.h, 1.8.9-pre1 then builds fine for me without the need to > patch any files. > > That's no so bad .... better if there were some way to get something like > the following automatically added to the end of H5pubconf.h: > > #ifndef H5_HAVE_WIN32_API > #ifdef WIN32 /* defined for all windows systems */ > #define H5_HAVE_WIN32_API 1 > #endif > #endif > > #ifndef H5_HAVE_MINGW > #ifdef __MINGW32__ /*defined for all MinGW compilers */ > #define H5_HAVE_MINGW 1 > #endif > #endif > > But if that can't be done easily, then I wouldn't bother about it. > > Cheers, > Rob _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
