mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] hdf5 on x86_64-static-mingw32 runtime error


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] hdf5 on x86_64-static-mingw32 runtime error
Date: Sun, 23 Jun 2013 17:16:41 +1000

On 23/01/2013, at 6:16 PM, Alois Schlögl <address@hidden> wrote:

> Hi Tony,
> 
> 
> I'm trying to build an application using libhdf5 for 64 bit windows
> version and use
> Tony's repo. The application builds fine, but when running the
> application and using one of the hdf5 library functions, I get runtime
> errors. In order to reproduce the result, I've extended hdf5.mk and
> added hdf5-test.c file, both are attached.
> 
> When running the compiled hdf5-test.exe on win64, I get the attached
> error log.
> 
> It seems, that some data types get confused. I'm suspecting the patch
>    src/hdf5-2-platform-detection.patch
> because the patch generates two files
>   src/H5Tinit.c
>   src/H5lib_settings.c
> which appear to be specifically generated for "Host system:
> i686-pc-mingw32". And H5T_NATIVE_LONG and H5T_NATIVE_ULONG are only 4
> byte types, which should be 8 bytes on 64bit.
> 
> The question is, can you provide a patch for the x86_64 target, too ?

Hi Alois,

This is fixed now:

https://github.com/mxe/mxe/commit/682857e9a4408f74a5477ba572256a0ff8d44447

Cheers,

Tony





reply via email to

[Prev in Thread] Current Thread [Next in Thread]