ukoethe / vigra

a generic C++ library for image analysis
http://ukoethe.github.io/vigra/
Other
406 stars 191 forks source link

Apparently 1.11.1 broken with current version of hdf5: `hdf5impex.cxx: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'` #556

Closed barracuda156 closed 2 months ago

barracuda156 commented 6 months ago
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/include/vigra/stdconvolution.hxx:43,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/include/vigra/convolution.hxx:41,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/vigranumpy/src/core/convolution.cxx:45:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/include/vigra/separableconvolution.hxx: At global scope:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/include/vigra/separableconvolution.hxx:1413:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
:info:build  1413 |             throw(PreconditionViolation)
:info:build       |             ^~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/include/vigra/stdconvolution.hxx:796:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
:info:build   796 |             throw(PreconditionViolation)
:info:build       |             ^~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/src/impex/hdf5impex.cxx: In function 'H5O_type_t vigra::HDF5_get_type(hid_t, const char*)':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/src/impex/hdf5impex.cxx:193:24: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
:info:build   193 |     H5Oget_info_by_name(loc_id, name, &infobuf, H5P_DEFAULT);
:info:build       |                        ^
:info:build In file included from /opt/local/include/H5Apublic.h:21,
:info:build                  from /opt/local/include/hdf5.h:22,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vigra/vigra/work/vigra-1-11-1/include/vigra/hdf5impex.hxx:51:
:info:build /opt/local/include/H5Opublic.h:540:15: note: declared here
:info:build   540 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
:info:build       |               ^~~~~~~~~~~~~~~~~~~~
:info:build make[2]: *** [src/impex/CMakeFiles/vigraimpex.dir/hdf5impex.cxx.o] Error 1
Dave-Allured commented 6 months ago

Try updating to the current release, vigra 1.11.2. That includes an update to the HDF5 interface which may fix this problem.

hmaarrfk commented 2 months ago

I do believe that Dave is correct.

Please let us know if that is not the case.

If we don't hear a response from you barracuda156 within a month I'll close.

If others are experiencing issues, please open a separate request.

barracuda156 commented 2 months ago

@hmaarrfk @Dave-Allured I will try.

Yeah, looks like it builds now. Thank you.