HDFGroup / HDFGroup/HDF.PInvoke

H5T Errors with Mono

Open
#55 6 comments 0 reactions 1 assignee Claimed by @hokb View on GitHub
Dominant language
C#
Stars
87
Forks
31
PR merge metrics
No merged PRs in 30d

Description

When trying to use the HDF.PInvoke library with Mono, the calls to GetModuleHandle and GetProcAddress will fail. Mono seems to be able to resolve the PInvokes, even changing the name of the called library to be able to locate in on a linux system, but it can't handle the runtime calls against kernel32.dll. I created a pull request with a new class for handling the runtime dll imports on linux. This currently runs without throwing any dlerrors on the imports, but it is still returning incorrect values for the types that I was trying (e.g. a return value of -1 for H5T_NATIVE_FLOAT_g) from dlsym.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.