Failed to compile

Hello Forum,
I am using ARDUINO 1.8.19 since the version came out, it was updated yesterday and since then I have had this error when trying to compile any file.

Arduino:1.8.19 (Windows 10), Tarjeta:"ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 16MB (128Mb), 921600, Core 1, Core 1, None, Disabled"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Gerardo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools cmd /c if not exist "C:\Users\Gerardo\AppData\Local\Temp\arduino_build_913743\partitions.csv" "@C:\Users\Gerardo\AppData\Local\Temp\arduino_build_913743/build_opt.h" "@C:\Users\Gerardo\AppData\Local\Temp\arduino_build_913743/file_opts" "-IC:\Users\Gerardo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32" "-IC:\Users\Gerardo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\variants\esp32" "C:\Users\Gerardo\AppData\Local\Temp\arduino_build_913743\sketch\Blink_Modificado.ino.cpp" -o nul

Alternatives for stdbool.h: []

ResolveLibrary(stdbool.h)

-> candidates: []In file included from C:\Users\Gerardo\AppData\Local\Temp\arduino_build_913743\sketch\Blink_Modificado.ino.cpp:1:

C:\Users\Gerardo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/Arduino.h:23:10: fatal error: stdbool.h: No such file or directory

#include <stdbool.h>

      ^~~~~~~~~~~

compilation terminated.

exit status 1

Error compilando para la tarjeta ESP32 Dev Module.

Any solution?
Thank you so much

Welcome to the forum

You say

and

The error message seems to indicate that you are using IDE 1.8.19

What exactly was updated ?

I did a quick look around to see if there were any other reports (and more importantly, explanations of the cause or solution) of this problem. I did find one:

https://github.com/espressif/arduino-esp32/issues/6958#issuecomment-1475395960

Unfortunately it doesn't provide much in the way of useful information.

The fact that I didn't find a lot of reports is significant though. If the problem affected all users and all sketches then we would find a huge number of reports. So there must be something significant about your system specifically. Unfortunately I don't have an idea about what that could be.

I suggest you un-install the ESP32 core, un-install the IDE, reboot, re-install the IDE (1.8.19 which is by no means new..) and re-install the ESP32 core and get back to us.

Thank you very much The solution was to uninstall the ESP32 cards, the two that I attached in the image, then uninstall ARDUINO and restart

Then reinstall ARDUINO and the card modules again.

Now it works correctly again
Thank you so much

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.