Performing C++ SOURCE FILE Test HAVE_X87_MATH failed with the following output: Change Dir: /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_52cc0/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_52cc0.dir/build.make CMakeFiles/cmTC_52cc0.dir/build Building CXX object CMakeFiles/cmTC_52cc0.dir/src.cxx.o /opt/homebrew/opt/llvm/bin/clang++ -DHAVE_X87_MATH -I/opt/homebrew/opt/llvm/include -I/opt/homebrew/opt/llvm/include/c++/v1/ -I/opt/homebrew/opt/libffi/include -I/opt/homebrew/opt/expat/include -std=c++11 -mcpu=native -Werror=unused-label -Werror=delete-incomplete -fno-math-errno -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=11.2 -o CMakeFiles/cmTC_52cc0.dir/src.cxx.o -c /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp/src.cxx /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp/src.cxx:3:2: error: #error ^ 1 error generated. make[1]: *** [CMakeFiles/cmTC_52cc0.dir/src.cxx.o] Error 1 make: *** [cmTC_52cc0/fast] Error 2 Source file was: #if !defined(__i386) && !defined(_M_IX86) #error #endif #if defined(__SSE2__) #error #endif int main() { } Performing C++ SOURCE FILE Test HAVE_X86_SSE_MATH failed with the following output: Change Dir: /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_de8e2/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_de8e2.dir/build.make CMakeFiles/cmTC_de8e2.dir/build Building CXX object CMakeFiles/cmTC_de8e2.dir/src.cxx.o /opt/homebrew/opt/llvm/bin/clang++ -DHAVE_X86_SSE_MATH -I/opt/homebrew/opt/llvm/include -I/opt/homebrew/opt/llvm/include/c++/v1/ -I/opt/homebrew/opt/libffi/include -I/opt/homebrew/opt/expat/include -std=c++11 -mcpu=native -Werror=unused-label -Werror=delete-incomplete -fno-math-errno -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=11.2 -o CMakeFiles/cmTC_de8e2.dir/src.cxx.o -c /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp/src.cxx /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp/src.cxx:3:2: error: #error ^ /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp/src.cxx:7:2: error: #error ^ 2 errors generated. make[1]: *** [CMakeFiles/cmTC_de8e2.dir/src.cxx.o] Error 1 make: *** [cmTC_de8e2/fast] Error 2 Source file was: #if !defined(__i386) && !defined(_M_IX86) #error #endif #if !defined(__SSE2__) #error #endif int main() { } Performing C SOURCE FILE Test _fftw3f_multithread failed with the following output: Change Dir: /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7ad39/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_7ad39.dir/build.make CMakeFiles/cmTC_7ad39.dir/build Building C object CMakeFiles/cmTC_7ad39.dir/src.c.o /opt/homebrew/opt/llvm/bin/clang -D_fftw3f_multithread -I/opt/homebrew/Cellar/fftw/3.3.9/include -std=c11 -mcpu=native -fno-math-errno -mmacosx-version-min=11.2 -flto -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=11.2 -o CMakeFiles/cmTC_7ad39.dir/src.c.o -c /Users/cynamon/programs/code-rawtherapee/build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_7ad39 /opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7ad39.dir/link.txt --verbose=1 /opt/homebrew/opt/llvm/bin/clang -std=c11 -mcpu=native -fno-math-errno -mmacosx-version-min=11.2 -flto -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=11.2 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib -L/opt/homebrew/opt/libffi/lib -L/opt/homebrew/opt/expat/lib -L/opt/homebrew/lib -mcpu=native -Wl,-headerpad_max_install_names -mtune=generic -flto CMakeFiles/cmTC_7ad39.dir/src.c.o -o cmTC_7ad39 /opt/homebrew/lib/libfftw3f.dylib undef: _fftwf_init_threads undef: _fftwf_plan_with_nthreads Undefined symbols for architecture arm64: "_fftwf_init_threads", referenced from: _main in lto.o "_fftwf_plan_with_nthreads", referenced from: _main in lto.o ld: symbol(s) not found for architecture arm64 clang-11: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmTC_7ad39] Error 1 make: *** [cmTC_7ad39/fast] Error 2 Source file was: #include int main() { fftwf_init_threads(); fftwf_plan_with_nthreads(1); return 0; }