Arduino Nano ESP32 failure to compile

After hundreds of Arduino IDE compiles in the last 2 weeks I received this error message this morning:

...\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\variants\arduino_nano_nora\dfu_callbacks.cpp:12:10: fatal error: ../../libraries/Update/src/Updater.cpp: No such file or directory
#include "../../libraries/Update/src/Updater.cpp"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Attempted fix: deleted libraries. Uninstalled Arduino and reinstalled. No joy.

Kindly please advise and let me know if there is a more appropriate forum.
Best regards,
L.

Did you update anything between the last 2 weeks and this morning ?

Same level of Arduino IDE 2.3.2

I believe a JSON library update "flashed by" Wed or Thr last. But I think I successfully compiled after.

Nothing updated today. FYI UNO sketches compile clean.

Thanks!


Should probably be here for Windows
\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\libraries\Update\src\

Hello @lwhitacre, indeed there was a recent update to 2.0.16 last week, so if you got that you should not have anything left from 2.0.13 on your PC. Regardless, both have that file, so... i'm puzzled about what happened there.

What is the version displayed in Boards Manager for the Arduino ESP32 Boards package? Can you try updating that core version 2.0.16?
(If you instead have the esp32 package by Espressif Systems, can you try removing that and using the one by Arduino?)

Iburelli,
Yes indeed! I found both Arduino ESP32 Boards (2.0.13) and Espressif esp32 (2.0.16) were installed.

  1. Removed Espressif espP32 (2.0.16)
  2. Attempted to up-level Arduino ESP32 Boards, but...
  3. 2.0.13 is the latest version offered. Removed and reinstalled anyway to be sure.
  4. Retested. All appears to be working now. Thank you!!!

Q1: Can you confirm whether Arduino ESP32 Boards should be at 2.0.13 or 2.016?
Q2: If 2.016 is correct level, what do I need to do in the IDE to invoke an update?

Sincere regards.

1 Like

Apologies for the misdirection - the "Arduino ESP32 Boards" is indeed not yet updated, so 2.0.13 is the last version available for that. News are coming though :wink:

Thank you very much for the timely solution.

1 Like