Compiling errors in serveral example projects

hello!

I was trying to upload several projects on my 7" ESP32 display using Arduino IDE and always ended up with these errors while verifying the code:


In file included from c:\users\default.desktop-sf5jvkc\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\include\c++\8.4.0\string:41,

                from c:\users\default.desktop-sf5jvkc\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\include\c++\8.4.0\stdexcept:39,

                from c:\users\default.desktop-sf5jvkc\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\include\c++\8.4.0\array:39,

                from c:\users\default.desktop-sf5jvkc\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\include\c++\8.4.0\tuple:39,

                from c:\users\default.desktop-sf5jvkc\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\include\c++\8.4.0\functional:54,

                from C:\Users\default.DESKTOP-SF5JVKC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\cores\esp32/HardwareSerial.h:49,

                from C:\Users\default.DESKTOP-SF5JVKC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\cores\esp32/Arduino.h:184,

                from C:\Users\default.DESKTOP-SF5JVKC\AppData\Local\Temp\arduino\sketches\39D8FB95ABA9D76D8C43C07926650E15\sketch\7.0-inch_Squareline_Demo.ino.cpp:1:

c:\users\default.desktop-sf5jvkc\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\include\c++\8.4.0\bits\allocator.h:46:10: fatal error: bits/c++allocator.h: No such file or directory

 #include <bits/c++allocator.h> // Define the base class to std::allocator.

         ^~~~~~~~~~~~~~~~~~~~~

compilation terminated.


exit status 1


Compilation error: exit status 1


I followed the provided tuts to the best of my abilities but im a absolute beginner, so if the problem seems to be obvious, please try to explain the solution in simple steps and if possible a link to the missing files or libs would help too. :)


Thx in advance!

Comments

Sign In or Register to comment.