Magnus Ulimoen
Magnus Ulimoen
I am not sure how well cross compilation works, the build script is still somewhat naive. I would recommend trying the branch in #67, which could be a bit easier...
I would use the static PR. If you manage to get it working, please let us know!
I would feel more comfortable if we had some typical platforms in CI which we could try this on. Are there some github actions that mimics msys2? Otherwise a PR...
It does seem msys2 is [installed by default on the runners](https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md#msys2). I am not quite sure which environment variables to add. At least "C:\\msys64\\usr\\bin" needs to be in path
It seems quite weird we can't detect the library. We have some tests in CI to install hdf5 and run tests on this, how do you install the library? Could...
What is the name of the library? We expect `libhdf5.dylib`, `libhdf5.so`, or `hdf5.dll`, could there be a mismatch there?
Seems to work if adding to CI: https://github.com/mulimoen/hdf5-rust/runs/4929209159?check_suite_focus=true Could it be the searcher is confused by the many installed version of `hdf5`?
@dwerner95 I only added 1.12.1 to CI, no other changes. Which toolchain do you have installed? (rustup toolchain list)
You'll have to use `msvc` with the precompiled `hdf5`. If you need gnu you can build statically from source
We should improve the error message when trying to use a precompiled library with windows-gnu