解析以下错误:CMake Error at /Users/fym/
Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/232.8453.115/CLion 2023.2 EAP.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
"/usr/local/bin/g++-13"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/fym/Desktop/C++/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-HWLOEj
Run Build Command(s):/Users/fym/
Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/232.8453.115/CLion 2023.2 EAP.app/Contents/bin/ninja/mac/ninja -v cmTC_1dd3b && [1/2] /usr/local/bin/g++-13 -isysroot /
Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -fdiagnostics-color=always -o CMakeFiles/cmTC_1dd3b.dir/testCXXCompiler.cxx.o -c /Users/fym/Desktop/C++/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-HWLOEj/testCXXCompiler.cxx
[2/2] : && /usr/local/bin/g++-13 -isysroot /
Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_
max_install_names CMakeFiles/cmTC_1dd3b.dir/testCXXCompiler.cxx.o -o cmTC_1dd3b && :
FAILED: cmTC_1dd3b
: && /usr/local/bin/g++-13 -isysroot /
Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_
max_install_names CMakeFiles/cmTC_1dd3b.dir/testCXXCompiler.cxx.o -o cmTC_1dd3b && :
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/
Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/lib/libSystem.tbd' for architecture x86_64
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
[无法重新加载]
到此这篇max31865问题(max31865中文数据手册)的文章就 介绍到这了,更多相关内容请继续浏览下面的相关 推荐文章,希望大家都能在 编程的领域有一番成就!版权声明:
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权、违法违规、事实不符,请将相关资料发送至xkadmin@xkablog.com进行投诉反馈,一经查实,立即处理!
转载请注明出处,原文链接:https://www.xkablog.com/sjkxydsj/14133.html