Comments (2)
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.
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)
- Support for container or `Eigen::Map` HOT 5
- write fails for custom structs of length >3 HOT 3
- h5pp compatibility issues with hdf5 1.13 HOT 3
- Some issues with H5PP on Mac HOT 8
- Cmake error while building h5pp HOT 1
- How to write dateaset with struct and std::string HOT 2
- `std::is_pod_v` deprecated in C++20 HOT 1
- Overwrite cmake flag CMAKE_CXX_STANDARD HOT 1
- Cmake 3.16: Configuration error in find_package(h5pp REQUIRED) HOT 2
- Add example of how to read or write a slice of a dataset HOT 4
- Add readDataset() overload that takes hid::h5t. HOT 4
- How to config the headers in QtCreator? HOT 3
- h5pp without CMake (HDF5 windows binary installer) HOT 1
- How to traverse a hdf5 file with h5pp? HOT 1
- Can this library be use in .net enviroment? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5pp.