help > RE: Basic setup and usage for native Mac and Linux
Jun 3, 2026  03:06 PM | Kazim Jafri - ACR
RE: Basic setup and usage for native Mac and Linux

Hi Chris,


I running across some errors and I was hoping you could help.


I cloned both repos (ANTS and Niftyreg) into our home directory, created the build folders, but ran into an error for niftyreg:


 corelabadmin@Corelab-Mac-Studio01-PRD build % make
[  1%] Building CXX object reg-lib/CMakeFiles/_reg_maths.dir/cpu/Maths.cpp.o
clang++: error: unsupported option '-msse3' for target 'arm64-apple-darwin25.5.0'
make[2]: *** [reg-lib/CMakeFiles/_reg_maths.dir/cpu/Maths.cpp.o] Error 1
make[1]: *** [reg-lib/CMakeFiles/_reg_maths.dir/all] Error 2
make: *** [all] Error 2
corelabadmin@Corelab-Mac-Studio01-PRD build % cd ..
corelabadmin@Corelab-Mac-Studio01-PRD niftyreg % cd ..


I suspect that it is anticipating x86 architecture instead of the more recent ARM architecture on Mac computers.


Any help that can be provided would be appreciated.

  Edited (Jun 3, 2026  03:06 PM)

Threaded View

TitleAuthorDate
Jesse Mahan May 26, 2026
Christopher Schwarz May 27, 2026
RE: Basic setup and usage for native Mac and Linux
Kazim Jafri Jun 3, 2026
Christopher Schwarz Jun 3, 2026
Kazim Jafri Jun 4, 2026
Christopher Schwarz Jun 4, 2026
Jesse Mahan May 29, 2026