Giter Site home page Giter Site logo

Comments (2)

DavidAce avatar DavidAce commented on August 15, 2024

As far as I can tell, these two libraries are included by the underlying HDF5 library. -lsz is for the szip library and -lrt is the real-time extensions library. For the szip library, you can check if it is installed in your system (e.g. with brew). Presumably the find_package config file bundled with your HDF5 install is including these two libraries. Are you able to link HDF5 to a program without h5pp? How have you installed the dependencies, by the way?

Since h5pp is a header-only library, compilation only happens when building the tests, as you have noticed. However, I have included opt-in flags to let h5pp build its dependencies on the fly during the configuration stage, using a "CMake-only" approach or using the conan package manager.

The easiest way to let h5pp install dependencies automatically is by using the presets provided. To list the presets run cmake --list-presets in the root directory. You can inherit and build upon any of those presets with CMakeUserPresets.json. See also the following github action running on macos12 where these approaches work: https://github.com/DavidAce/h5pp/actions/runs/6059557138/workflow

If none of this is working, try posting the output from your CMake configure, after adding for instance --log-level=verbose or passing -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE. This should print what each CMake target is linking to.

from h5pp.

DavidAce avatar DavidAce commented on August 15, 2024

I'm closing this for now, but feel free to create a new issue if the problem persists in the newest release of h5pp.

from h5pp.

Related Issues (16)

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.