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

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

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


From: Alois Schlögl
Subject: [Mingw-cross-env-list] hdf5 on x86_64-static-mingw32 runtime error
Date: Wed, 23 Jan 2013 08:16:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Iceowl/1.0b1 Icedove/3.0.11

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 ?


Alois















Attachment: hdf5.mk
Description: Text document

Attachment: hdf5-test.c
Description: Text Data

Attachment: error.log
Description: Text Data


reply via email to

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