# Failed to compile

**URL:** <https://forum.arduino.cc/t/failed-to-compile/1158048>\
**Category:** IDE 1.x\
**Created:** [August 14, 2023, 8:10am UTC](https://forum.arduino.cc/t/failed-to-compile/1158048 "2023-08-14T08:10:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtv](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@gtv](https://forum.arduino.cc/u/gtv)\
**Post date:** [August 14, 2023, 8:10am UTC](https://forum.arduino.cc/t/failed-to-compile/1158048/1 "2023-08-14T08:10:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [August 14, 2023, 8:47am UTC](https://forum.arduino.cc/t/failed-to-compile/1158048/2 "2023-08-14T08:47:02Z")

</div>

Welcome to the forum

You say

> [@gtv](#):
>
> I am using ARDUINO 1.8.19

and

> [@gtv](#):
>
> it was updated yesterday

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

> [@gtv](#):
>
> Arduino:1.8.19

What exactly was updated ?

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [August 14, 2023, 8:52am UTC](https://forum.arduino.cc/t/failed-to-compile/1158048/3 "2023-08-14T08:52:00Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Deva\_Rishi](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/deva_rishi/32/227254_2.png) [@Deva\_Rishi](https://forum.arduino.cc/u/Deva_Rishi)\
**Post date:** [August 14, 2023, 9:34am UTC](https://forum.arduino.cc/t/failed-to-compile/1158048/4 "2023-08-14T09:34:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![gtv](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@gtv](https://forum.arduino.cc/u/gtv)\
**Post date:** [August 14, 2023, 12:55pm UTC](https://forum.arduino.cc/t/failed-to-compile/1158048/5 "2023-08-14T12:55:11Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/c/c/9/cc9080446b418dc096d89a2b861091a7f70a7016.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [February 10, 2024, 12:55pm UTC](https://forum.arduino.cc/t/failed-to-compile/1158048/6 "2024-02-10T12:55:38Z")

</div>

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