Building VTK-9.2.5 on macOS

The dreaded day is finally upon me where we swap from an installation that was working to apple silicon (i’m not happy about it either, i was happy before!).
It seems that 9.2.5 is the last version of VTK we can use as a dependency to clitk. Building it with shared libs and qt5 (also needed by clitk) is raising these errors here.
I found this post here that lead to this post here that i tried out. However this resulted in this error stack here.

I’m kinda outside of my depth with macos hence why i’m here to ask if anyone has seen this or has a possible solution for these.

In context of the os, using macOS Sequioa 15.0.1 and Xcode 16.0 (16A242d).

If any third-party libraries like hdf5 don’t build, then try turning them off in the configuration. This will also require TESTING to be disabled, since many of the tests use hdf files.

VTK_BUILD_TESTING=OFF
VTK_MODULE_ENABLE_VTK_hdf5=NO
VTK_MODULE_ENABLE_VTK_netcdf=NO

Chances are that you don’t need hdf in your application.

You’re absolutely right @dgobbi, this fixed it right up.

Thanks.