Open Svalorzen opened 2 years ago
Thanks for the report: I could replicate the issue.
My suggestion is to clone this repository then git checkout v1.10.4-6
; I also installed eigen 3.3.7-2 with sudo apt install libeigen3-dev
on an ubuntu 20.04LTS based linux mint. The Unix makefile expects Eigen3 in /usr/include/eigen3
which can be adjusted to your system. Running make eigen3
from examples/linalg
did the right thing.
Alternatively from the h5cpp/examples
directory run cmake . && make
to compile the examples, then run ./examples-eigen3
Let me know either here or on the HDF5 C++ forum if the above solved the problem.
best: steve
Thanks, this fixed it :)
I've just finished setting up h5cpp and I'm trying the examples on this page.
The
basics.cpp
example seems to work fine, but I cannot get theeigen3.cpp
example to work. I get HDF5 errors unfortunately.This is what happens if I run the example as-is:
After this the linalg.h5 file is created, but cannot be opened with another tool.
If instead I comment most of the file, and I simply try to run the fixed/compile time examples (replacing
H5F_ACC_RDWR
withH5F_ACC_TRUNC
, I get this:This is my CMake setup:
and CMake output:
Any ideas what I'm doing wrong?