hofmannu / opensaft

Synthetic aperture focusing technique for optoacoustic mesoscopy and scanning acoustic microscopy.
https://hofmannu.github.io/opensaft/
12 stars 0 forks source link

CMake issue #25

Open AliMoal opened 1 month ago

AliMoal commented 1 month ago

Hi, thank you for sharing your knowledge. When I want to compile it this error fox cmake occurs:

-- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR) 
-- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR) 
-- Could NOT find libdwarf (missing: LIBELF_LIBRARY LIBELF_INCLUDE_DIR) 

I tried so much but nothing changed. I'm using Ubuntu 22.04.4 LTS.

hofmannu commented 1 month ago

Hi, this is a dependency issue for the stacktracing library I use called backward. I think apt-get install binutils-dev should do the job.

AliMoal commented 1 month ago

Hi, this is a dependency issue for the stacktracing library I use called backward. I think apt-get install binutils-dev should do the job.

Thank you but there is no package with this name

AliMoal commented 1 month ago

It has this error too:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
H5CPP_LIB
    linked by target "Volume" in directory ...
H5_LIB
    linked by target "Volume" in directory ...
hofmannu commented 1 month ago

According to ubuntu it should exist. Yes, that next missing thing is the hdf5 dependency already mentioned in the readme. I am realizing a lot of bad patterns though within the code and am rewriting big bits at the moment. So maybe wait a few weeks before trying to use it.

AliMoal commented 1 month ago

Thanks, by the way