53 lines
3.2 KiB
Plaintext
Raw Normal View History

/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -S /Users/wakanda_shaw/Desktop/TC_Nav_Zjut/QT/Win/read_IMU -B /Users/wakanda_shaw/Desktop/TC_Nav_Zjut/QT/Win/read_IMU/cmake-build-debug
CMake Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.23/Modules/Platform/Darwin-Initialize.cmake:303 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
because the directory does not exist.
Call Stack (most recent call first):
/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.23/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
CMakeLists.txt:2 (project)
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - broken
CMake Error at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.23/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/wakanda_shaw/Desktop/TC_Nav_Zjut/QT/Win/read_IMU/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_a83ad/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_a83ad.dir/build.make CMakeFiles/cmTC_a83ad.dir/build
Building C object CMakeFiles/cmTC_a83ad.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch arm64 -MD -MT CMakeFiles/cmTC_a83ad.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_a83ad.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_a83ad.dir/testCCompiler.c.o -c /Users/wakanda_shaw/Desktop/TC_Nav_Zjut/QT/Win/read_IMU/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_a83ad
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a83ad.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch arm64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_a83ad.dir/testCCompiler.c.o -o cmTC_a83ad
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTC_a83ad] Error 1
make: *** [cmTC_a83ad/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/wakanda_shaw/Desktop/TC_Nav_Zjut/QT/Win/read_IMU/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/Users/wakanda_shaw/Desktop/TC_Nav_Zjut/QT/Win/read_IMU/cmake-build-debug/CMakeFiles/CMakeError.log".