Код: Выделить всё
In file included from /opt/homebrew/Cellar/gcc/15.1.0/lib/gcc/current/gcc/aarch64-apple-darwin24/15/include-fixed/stdio.h:75,
from /Library/Developer/CommandLineTools/SDKs/MacOSX14.5.sdk/usr/include/wchar.h:90,
from /opt/homebrew/Cellar/gcc/15.1.0/include/c++/15/cwchar:49,
from /opt/homebrew/Cellar/gcc/15.1.0/include/c++/15/bits/postypes.h:42,
from /opt/homebrew/Cellar/gcc/15.1.0/include/c++/15/iosfwd:44,
from /opt/homebrew/Cellar/gcc/15.1.0/include/c++/15/ios:42,
from /opt/homebrew/Cellar/gcc/15.1.0/include/c++/15/istream:42,
from /opt/homebrew/Cellar/gcc/15.1.0/include/c++/15/fstream:42,
from /Users/xxxx/Software/THAMES/src/thameslib/ElasticModel.h:64,
from /Users/xxxx/Software/THAMES/src/thameslib/AppliedStrain.h:11,
from /Users/xxxx/Software/THAMES/src/thames.h:112,
from /Users/xxxx/Software/THAMES/src/thames.cc:6:
/opt/homebrew/Cellar/gcc/15.1.0/lib/gcc/current/gcc/aarch64-apple-darwin24/15/include-fixed/_stdio.h:78:10: fatal error: _bounds.h: No such file or directory
78 | #include
| ^~~~~~~~~~~
In file included from /opt/homebrew/Cellar/gcc@14/14.2.0/lib/gcc/14/gcc/aarch64-apple-darwin24/14/include-fixed/stdio.h:75,
from /Library/Developer/CommandLineTools/SDKs/MacOSX14.5.sdk/usr/include/wchar.h:90,
from /opt/homebrew/Cellar/gcc@14/14.2.0/include/c++/14/cwchar:44,
from /opt/homebrew/Cellar/gcc@14/14.2.0/include/c++/14/bits/postypes.h:40,
.
.
.
/opt/homebrew/Cellar/gcc@14/14.2.0/lib/gcc/14/gcc/aarch64-apple-darwin24/14/include-fixed/_stdio.h:78:10: fatal error: _bounds.h: No such file or directory
< /code>
Так что, может быть, я не понизил GCC, как я думал, я сделал ... Я сделал это: < /p>
Brew удалить GCC@15; Brew AutoreMove < /li>
Brew Install GCC@14 < /li>
< /ul>
Кроме того, я не уверен, откуда эта ошибка, потому что я не использую Bounds.h нигде в моей кодовой базе. Похоже, это то, что нужно Stdio.h. Так что, возможно, это как -то связано с моим кодом, но я не знаю, где начать делиться этим здесь. Я открыт для любых предложений, которые у кого -то есть ...
Подробнее здесь: https://stackoverflow.com/questions/796 ... -to-gcc-15
Мобильная версия