Constant compiling errors using Arduino IDE
Posted: Sun Dec 31, 2023 4:17 pm
Hello everyone!
I ordered a ESP32-S3 WROOM1 based 7" display to realize my first GUI-project but im still a bloody beginner when it comes to coding and the use of compilers.
Link to the used Display:
https://www.elecrow.com/esp32-display-7 ... -lvgl.html
Compilers used:
Arduino IDE 1.8.19 and 2.xx(Newest Version)
Problem:
No matter wich example project im trying to verify or flash, im running into the same (or very similar) compiling errors:
The fatal error can also point to various other files (e.g. c++xxxxxx.h etc.) within the "xtensa-esp32s3-elf-gcc" directory. Always stating "No such file or directory" eventho the named files can be found within it.
If the problem might be obvious, keep in mind that im at the very beginning of this journey and would be happy if you can give a beginner friendly explanation of the problem.
thx a lot in advance!
I ordered a ESP32-S3 WROOM1 based 7" display to realize my first GUI-project but im still a bloody beginner when it comes to coding and the use of compilers.
Link to the used Display:
https://www.elecrow.com/esp32-display-7 ... -lvgl.html
Compilers used:
Arduino IDE 1.8.19 and 2.xx(Newest Version)
Problem:
No matter wich example project im trying to verify or flash, im running into the same (or very similar) compiling errors:
- In file included from c:\users\default.desktop-xxxxx\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32s3-elf\include\c++\8.4.0\cstdlib:41,
- from c:\users\default.desktop-xxxxx\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32s3-elf\include\c++\8.4.0\stdlib.h:36,
- from C:\Users\default.DESKTOP-xxxxx\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.3/tools/sdk/esp32s3/include/newlib/platform_include/assert.h:21,
- from c:\users\default.desktop-xxxxx\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32s3-elf\sys-include\sys\reent.h:503,
- from C:\Users\default.DESKTOP-xxxxx\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.3/tools/sdk/esp32s3/include/newlib/platform_include/sys/reent.h:17,
- from c:\users\default.desktop-xxxxx\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32s3-elf\sys-include\stdio.h:60,
- from C:\Users\default.DESKTOP-xxxxx\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.3\cores\esp32/Arduino.h:27,
- from sketch\LvglWidgets-7.0-helloworld.ino.cpp:1:
- c:\users\default.desktop-xxxxx\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32s3-elf\include\c++\8.4.0\xtensa-esp32s3-elf\no-rtti\bits\c++config.h:511:10: fatal error: bits/cpu_defines.h: No such file or directory
- #include <bits/cpu_defines.h>
- ^~~~~~~~~~~~~~~~~~~~
- compilation terminated.
- exit status 1
- Error compiling for board ESP32S3 Dev Module.
If the problem might be obvious, keep in mind that im at the very beginning of this journey and would be happy if you can give a beginner friendly explanation of the problem.
thx a lot in advance!