[英]Build errors with Make for C++ code after updating macOS
I am trying to build a C++ code with “make“ but after that I updated my macOS from 12.3 to 12.6, I am getting this error:我正在尝试使用“make”构建 C++ 代码,但之后我将 macOS 从 12.3 更新到 12.6,我收到此错误:
A linker snapshot was created at: /tmp/libqints.dylib-2022-09-16-155828.ld-snapshot linker 快照创建于:/tmp/libqints.dylib-2022-09-16-155828.ld-snapshot
ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more atoms allocated than expected"), function parse, file macho_relocatable_file.cpp, line 2061. ld:断言失败:(_file->_atomsArrayCount == computedAtomCount &&“分配的原子比预期的多”),function 解析,文件 macho_relocatable_file.cpp,第 2061 行。
And I'm using gcc(12.2.0) compiler installed with home-brew.我正在使用随 home-brew 安装的 gcc(12.2.0) 编译器。
But before the update, everything was working fine.但在更新之前,一切正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.