I have been working through the Learn LVGL course and encountered this error. This is from Lesson 4.2 Temperature Sensor Threshold with Input Field(Thermostat). Everything has been working up to this point. I even had it installed once without errors.
What could be causing the error?
In file included from C:\Users\Robert\AppData\Local\Temp\arduino\sketches\E271B571E0328151F796D0C27D26AE4B\sketch\Thermometer_Simulation.ino.cpp:1:
C:\Users\Robert\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\cores\esp32/Arduino.h:23:10: fatal error: stdbool.h: No such file or directory
23 | #include <stdbool.h>
| ^~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1