Post

Replies

Boosts

Views

Activity

Reply to An issue with command line tools on Big Sur 11.2
I have the same problem. Let me print the whole message. Thank you for the next genius who is able to resolve this. My command: % cmake .. -DLOCAL_INSTALL_ALL=ON -DMPIBAT=ON The answer from the terminal: CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is Clang 12.0.0 -- The CXX compiler identification is Clang 12.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /Users/yanngouttenoire/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-clang -- Check for working C compiler: /Users/yanngouttenoire/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-clang - broken CMake Error at /usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler "/Users/yanngouttenoire/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-clang" is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/yanngouttenoire/Dropbox/Numerical_library/HEPfit-1.0/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_f5f91/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f5f91.dir/build.make CMakeFiles/cmTC_f5f91.dir/build Building C object CMakeFiles/cmTC_f5f91.dir/testCCompiler.c.o /Users/yanngouttenoire/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/yanngouttenoire/opt/anaconda3/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk -MD -MT CMakeFiles/cmTC_f5f91.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_f5f91.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_f5f91.dir/testCCompiler.c.o -c /Users/yanngouttenoire/Dropbox/Numerical_library/HEPfit-1.0/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_f5f91 /usr/local/Cellar/cmake/3.23.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f5f91.dir/link.txt --verbose=1 /Users/yanngouttenoire/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/yanngouttenoire/opt/anaconda3/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/yanngouttenoire/opt/anaconda3/lib -L/Users/yanngouttenoire/opt/anaconda3/lib CMakeFiles/cmTC_f5f91.dir/testCCompiler.c.o -o cmTC_f5f91 ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libSystem.tbd' for architecture x86_64 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmTC_f5f91] Error 1 make: *** [cmTC_f5f91/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:28 (project) -- Configuring incomplete, errors occurred! See also "/Users/yanngouttenoire/Dropbox/Numerical_library/HEPfit-1.0/build/CMakeFiles/CMakeOutput.log". See also "/Users/yanngouttenoire/Dropbox/Numerical_library/HEPfit-1.0/build/CMakeFiles/CMakeError.log".
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22