HDFView Library Linking Error


#1

I tried to use the search tool to find a similar post. I’m sure someone has had this problem before.

If I try to open an HDF4 file from the open menu, the program quits out - no error. If I use a file association, I get the following error:

HDFView root - C:\Users\Chris\AppData\Local\HDF_Group\HDFView\3.1.1
User property file - C:\Users\Chris.hdfview3.1.1
*** Unable to open file ‘C:\Users\Chris\AppData\Local\Temp\AST_L1T_00306152017033102_20170616101922_32006.hdf’: HDF4 library linking error ***
*** java.io.IOException: Unsupported fileformat - C:\Users\Chris\AppData\Local\Temp\AST_L1T_00306152017033102_20170616101922_32006.hdf ***

I suspect I am missing a file - or it is in the wrong place.

This is ASTER data L1T (EOS Spacecraft). I tried opening multiple files. File corruption is not likely. 22 to 88 MB. Win 8.1 Pro on an i7 gen 9 workstation. I am new to HDFView.


#2

It looks like there is a problem with the new release when accessing HDF4 files. Thank you for reporting! We will try to address the issue ASAP.

Meanwhile, one can find binaries for the old releases at https://gamma.hdfgroup.org/ftp/pub/outgoing/QATEST/hdfview/binaries/windows/

Thank you!
Elena


#3

Unfortunately, the packaging for HDFView 3.1.1, left out the two hdf4 libraries.
If you want to stay with the 3.1.1 release - I believe you can download the HDF4 binary and copy over the hdf and mfhdf shared libraries to your HDFView install/lib folder from the HDF4 install/lib.
NOTE: on windows it would be the install/bin folder to grab the dlls from HDF4.

Allen