This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bits/c++allocator.h: No such file or directory

Hi,

I am compiling a C++ arm-none-eabi project and getting following error, using the ARM GNU Toolchain V12.2.bet1.

[build] In file included from c:\...\arm-gnu-toolchain-12.2.mpacbti-bet1-mingw-w64-i686-arm-none-eabi\arm-none-eabi\include\c++\12.2.0\string:41,
[build]      from c:/.../deLibraryCpp/src/de/Logger.cpp:15:
[build] c:\...\arm-gnu-toolchain-12.2.mpacbti-bet1-mingw-w64-i686-arm-none-eabi\arm-none-eabi\include\c++\12.2.0\bits\allocator.h:46:10: fatal error: bits/c++allocator.h: No such file or directory
[build]   46 | #include <bits/c++allocator.h> // Define the base class to std::allocator.
[build]      |           ^~~~~~~~~~~~~~~~~~~~~
[build] compilation terminated.
I can't find the cause of this.
Thanks!