Replies: 4 comments 11 replies
-
Thank you for asking, Gina. elastix has recently (Jan 2, 2024) started using ITK 5.4.1, because of a problem we had with ITK 5.4.0. If you still want to use ITK 5.4.0, you may use an older version of elastix, for example the elastix 5.2.0 tag. If you want to use the latest version of elastix (from the main branch of git), you may find ITK 5.4.1 at https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.4.1 Kind regards, Niels |
Beta Was this translation helpful? Give feedback.
-
I think you're almost there 😃 This "Library not loaded: @rpath..." is a more common problem when developing for macOS. I think you should tell the executable (elastix) where to find libANNlib-5.2.1.dylib. Something like this (while you are in the directory of the elastix executable):
But I'm not 100% sure about the exact command. I read about it on https://medium.com/@donblas/fun-with-rpath-otool-and-install-name-tool-e3e41ae86172 Hope that helps for you! |
Beta Was this translation helpful? Give feedback.
-
@GinaC4 Can you please try the same command again, but in administrator mode? Using
It will probably ask for your password. PS For more information on loading "dylib" files on Mac, you may check a site, suggested by my colleague Baldur: https://clarkkromenaker.com/post/library-dynamic-loading-mac/ |
Beta Was this translation helpful? Give feedback.
-
Hi Niels, That worked, thanks a lot for your help :) |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Some colleagues and I are trying to install elastix on our new machines running macOS Sonoma 14.6 (M3 MAX chip), but we encountered some difficulties.
We first installed the ITK 5.4.0 version.
Then we downloaded the elastix source code from here: https://github.com/SuperElastix/elastix
When we tried to build elastix we got the following error:
**CMake Error at CMakeLists.txt:35 (find_package):
Could not find a configuration file for package "ITK" that is compatible
with requested version "5.4.1".
The following configuration files were considered but not accepted:
Configuring incomplete, errors occurred!**
We weren't able to find the ITK 5.4.1 version to download..
Any help would be appreciated.
Thank you,
Gina
Beta Was this translation helpful? Give feedback.
All reactions