Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial progress #6

Closed

Conversation

dzenanz
Copy link
Member

@dzenanz dzenanz commented Aug 30, 2022

No description provided.

@dzenanz dzenanz requested a review from thewtex August 30, 2022 21:22
@dzenanz
Copy link
Member Author

dzenanz commented Aug 30, 2022

TODO: try Unidata/netcdf-c#2492 here.

@dzenanz dzenanz force-pushed the augustProgress branch 2 times, most recently from 78b5a26 to 9b49d76 Compare September 8, 2022 15:29
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get CI passing

# GIT_REPOSITORY https://github.com/nih-at/libzip
# GIT_TAG v1.9.2
# )
# FetchContent_MakeAvailable(libzip)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to be built of out source, and pointed to a certain ITK build.")
endif()

function(dump_cmake_variables)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove debug code

/** Run-time type information (and related methods). */
itkTypeMacro(OMEZarrNGFFImageIO, ImageIOBase);

static constexpr unsigned MaximumDimension = 5; // OME-NGFF specifies up to 5D data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 -> 4 ('c' is the channel / component)

int r;
netCDF_call(nc_create(getNCFilename(this->m_FileName), NC_CLOBBER, &m_NCID));

const std::vector<std::string> dimensionNames = { "c", "i", "j", "k", "t" };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i j k to x y z per OME-Zarr

@thewtex
Copy link
Member

thewtex commented Sep 20, 2022

-- Building Shared Libraries: ON

We should turn off shared libraries if possible.

@thewtex
Copy link
Member

thewtex commented Sep 20, 2022

Linux todo: use ITK's HDF5:

-- Linking against: hdf5_cpp-shared;hdf5-shared;/usr/lib/x86_64-linux-gnu/libm.so;itkzlib;/usr/lib/x86_64-linux-gnu/libzip.so;/usr/lib/x86_64-linux-gnu/libbz2.so;libcurl;/usr/lib/x86_64-linux-gnu/libxml2.so

@thewtex
Copy link
Member

thewtex commented Sep 20, 2022

ZSTD Support: no

-> yes

https://open.cdash.org/build/8154414/configure

@thewtex
Copy link
Member

thewtex commented Sep 20, 2022

CMake Error at CMakeLists.txt:55 (add_library):
add_library cannot create ALIAS target "ZLIB::ZLIB" because target
"itkzlib" is imported but not globally visible.

@dzenanz dzenanz mentioned this pull request Sep 22, 2022
FetchContent_MakeAvailable(netCDF)
set(CMAKE_CXX_FLAGS ${saved_CXX})
set(CMAKE_C_FLAGS ${saved_C})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add warning exceptions here:

set(CTEST_CUSTOM_WARNING_EXCEPTION
\${CTEST_CUSTOM_WARNING_EXCEPTION}
# macOS Azure VM Warning
"ld: warning: text-based stub file"
)

@dzenanz
Copy link
Member Author

dzenanz commented Dec 27, 2022

Closing this PR, as I just pushed version ab1a5a4 to master which works fairly well.

@dzenanz dzenanz closed this Dec 27, 2022
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.

2 participants