Skip to content

Conversation

@lesaintjerome
Copy link

This PR adds support for Nexus/Hdf5 files format, specifically for ESRF tomographic data files.
It assumes the Nexus format.
If the file contains multiple entries, it only open the first one.

In the current status, the code does not compile: linker error:

[100%] Linking CXX executable ../bin/vv.app/Contents/MacOS/vv
Undefined symbols for architecture arm64:
  "_H5check_version", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::CanReadFile(char const*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::Read(void*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
  "_H5open", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::CanReadFile(char const*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::Read(void*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
  "H5::DSetAccPropList::DEFAULT", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::Read(void*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
  "H5::FileAccPropList::DEFAULT", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::CanReadFile(char const*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::Read(void*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
  "H5::FileCreatPropList::DEFAULT", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::CanReadFile(char const*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::Read(void*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
  "H5::DSetMemXferPropList::DEFAULT", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::Read(void*) in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
  "H5::PredType::NATIVE_FLOAT", referenced from:
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
      rtk::NexusHdf5ImageIO::ReadImageInformation() in libclitkCommon.a[17](rtkNexusHdf5ImageIO.cxx.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/vv.app/Contents/MacOS/vv] Error 1
make[1]: *** [vv/CMakeFiles/vv.dir/all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant