Windows, fortran binding and tdm-gcc

Hi,

We are trying to set up a fully open source tool chain to build our software and are stuck on hdf5 at the moment.
When using mingw for compilation I got the error:
  from C:\Users\Pascal\Downloads\HDF518CMake\hdf5-1.8.15-patch1\c++\src\H5Attribute.cpp:19:
c:\tdm-gcc-64\x86_64-w64-mingw32\include\time.h:269:34: error: expected unqualified-id before '{' token
  __forceinline struct tm *__cdecl localtime_r(const time_t *_Time, struct tm *_Tm) {
However as mingw is not supported so I do not expect anything.

The only reason we are trying to compile hdf5 ourselves is because of the fortran binding where the mod files are compiler dependent. My question is can we download the hdf5 binary build and only compile the fortran interface? Has it been done before? Is there any tutorial somewhere?

Regards,
Pascal

Sorry for the late response,

Hi,

We are trying to set up a fully open source tool chain to build our software and are stuck on hdf5 at the moment.
When using mingw for compilation I got the error:
from C:\Users\Pascal\Downloads\HDF518CMake\hdf5-1.8.15-patch1\c++\src\H5Attribute.cpp:19:
c:\tdm-gcc-64\x86_64-w64-mingw32\include\time.h:269:34: error: expected unqualified-id before '{' token
__forceinline struct tm *__cdecl localtime_r(const time_t *_Time, struct tm *_Tm) {
However as mingw is not supported so I do not expect anything.

The only reason we are trying to compile hdf5 ourselves is because of the fortran binding where the mod files are compiler dependent. My question is can we download the hdf5 binary build and only compile the fortran interface?

This is currently not possible.

Scot

···

On Sep 29, 2015, at 5:14 AM, Pascal <pascal22p@parois.net> wrote:

Has it been done before? Is there any tutorial somewhere?

Regards,
Pascal

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5