Git Product home page Git Product logo

hdf5-rs's Introduction

hdf5-rs

Build Status

Appveyor Build Status

Thread-safe Rust bindings and high-level wrappers for the HDF5 library API.

Note that this project is in its early development stage and hence things are likely to change and break on a regular basis.

Building

Windows

Building hdf5-rs on Windows currently needs some manual preparation steps:

  • A HDF5 binary, namely the shared library hdf5.dll is needed for linking. For (currently) unknown reasons, the prebuilt binaries from HDF-Group do not work (they are build with MSVC). It has to be build with gcc. Instructions for building HDF5 on Windows can be found here. For building the TDM distribution of MinGW-GCC is recommended, as it contains bintools for both 32bit & 64bit.

  • Set the environment variable HDF5_LIBDIR to point to the folder with the newly build hdf5.dll. Explanation: pkg-config will silently fail if not present and the path from the before-mentioned environment variable is added to the rustc commands by cargo. (Hint: Avoid path names with spaces, as they are difficult to escape correctly).

  • Run cargo build and/or cargo test to build and rust library and run the tests, repsectively. Hint: After changing the build environment, e.g. HDF5_LIBDIR, a cargo clean might be necessary.

  • Make sure hdf5.dll is on your search path, otherwise the tests will fail.

License

hdf5-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.

hdf5-rs's People

Contributors

aldanor avatar kkirstein avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.