That looks like an error related to an older esp32 release; wipe the folders as mentioned in that link (or this one https://support.arduino.cc/hc/en-us/art … rduino-IDE) - be sure to perform the “Removing additional files” steps, then try re-installing/starting over and see how it goes
Thanks for your reply. I have a couple of questions:
–If the error is “related to an older esp32 release”, why do I have to remove and reinstall the Arduino IDE? I use other ESP32 modules with it without this compile error.
–“wipe the folders as mentioned in that link”, what link are you referring to?