

Configuring incomplete, errors occurred! Ld: dynamic main executables must link with libSystem.dylib for architecture arm64Ĭlang: error: linker command failed with exit code 1 (use -v to see invocation)ĬMake will not be able to correctly generate this project. Ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libSystem.tbd, missing required architecture arm64 in file /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libSystem.tbd : & /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_fa92e.dir/testCCompiler.c.o -o cmTC_fa92e & : Run Build Command(s):/Users/andrejzubrickij/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/213.6777.58/CLion.app/Contents/bin/ninja/mac/ninja cmTC_fa92e & Building C object CMakeFiles/cmTC_fa92e.dir/testCCompiler.c.o

Is not able to compile a simple test program.Ĭhange Dir: /Users/andrejzubrickij/CLionProjects/untitled4/cmake-build-debug/CMakeFiles/CMakeTmp "/Library/Developer/CommandLineTools/usr/bin/cc" Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - brokenĬMake Error at /Users/andrejzubrickij/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/213.6777.58/CLion.app/Contents/bin/cmake/mac/share/cmake-3.21/Modules/CMakeTestCCompiler.cmake:69 (message): Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc The CXX compiler identification is AppleClang 12.0032 The C compiler identification is AppleClang 12.0032 "/Users/andrejzubrickij/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/213.6777.58/CLion.app/Contents/bin/cmake/mac/bin/cmake" -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_MAKE_PROGRAM=/Users/andrejzubrickij/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/213.6777.58/CLion.app/Contents/bin/ninja/mac/ninja" -G Ninja /Users/andrejzubrickij/CLionProjects/untitled4
