Hello world.
I'm using the Arduino IDE for a project with an esp32 board.
When I try to compile an error occurs. It seems, there is an issue with the Arduino.h. However I didn't touch it.
Arduino: 1.8.19 (Windows 10), Board: "ESP32 Wrover Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, None"
In file included from sketch\sketch_test.ino.cpp:1:0:
..\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:183:12: error: 'std::round' has not been declared using std::round;
^
exit status 1
Sketch has the extension .ino.
Don't know what the problem was, but it is solved.
I uninstalled Arduino IDE and deleted the ..\Arduino15\ folder manually.
After a fresh install of the IDE the sketch compiles.
Hi,
if your problem has been solved, do a kindness to everyone on the forum, especially to those who helped you.
Write [Solved] before your topic title, and if it was solved by some help, tick the one that best describes your solution.
I'm running IDE v1.8.19 and attempting to compile the Examples, 01.Basic, Blink sketch for my ESP32. My IDE has been working for years until about a week ago when I started getting the same error as carsten0501. I've been working with the Adafruit folks for the past few days and they confirm it is not a hardware error so I'm left with something related to the ESP32 library (ESP32 board v1.0.6). Any suggestions would be welcome.
Observing the same issues here with the ESP32 board v1.0.6 library installed and IDE v1.8.19 (on MacOs Monterey).
Using Arduino frequently for ESP8266, Adafruit M0, Arduino - boards, this error only appears for the ESP32...
As I have developed before with the ESP32 and only now this behaviour occurs, This suggests to be due to the library-update ESP v1.0.6.
Completely removing Arduino and re-installing everything does not solve this