On 16.05.2014 07:40, Андрей Парамонов wrote:
15.05.2014 19:37, Werner Benger пишет:
Hi Andrei,
was hdf5_EXPORTS defined when compiling HDF5?
You could check the hdf5.dll if its appropriately defined for export:
$ nm hdf5.dll | grep H5T_NATIVE_DOUBLE
000000006b60ac80 B H5T_NATIVE_DOUBLE_ALIGN_g
000000006b60abf8 B H5T_NATIVE_DOUBLE_COMP_ALIGN_g
000000006b57d6c4 D H5T_NATIVE_DOUBLE_g
000000006b60ad60 B H5T_NATIVE_DOUBLE_NEG_INF_g
000000006b60ad58 B H5T_NATIVE_DOUBLE_POS_INF_g
For official 1.8.12 w32 shared binary, I get
>nm hdf5.dll | grep H5T_NATIVE_DOUBLE
C:\MinGW\bin\nm.exe: hdf5.dll: no symbols
Hm, it seems this HDF5.dll was compiled differently then than mine.
There might be a hdf5.dll.a in your version that contains those symbols
instead, and in that case you would need to link against that one
instead of the .dll .
However, Dependency Walker does list H5T_NATIVE_DOUBLE_g among
exported symbols of hdf5.dll.
I wish that my minimal example can be compiled and run only with
minimal work (single gcc invocation, no need for cmake etc). Is it
possible?
I am not using cmake myself, neither the official HDF5
configure/makefile (they seem to have some issue under mingw, it might
be trivial, but couldn't identify it yet). I can share you my makefiles
if you're interested.
Werner
--
___________________________________________________________________________
Dr. Werner Benger Visualization Research
Center for Computation & Technology at Louisiana State University (CCT/LSU)
2019 Digital Media Center, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809 Fax.: +1 225 578-5362
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org