-
Notifications
You must be signed in to change notification settings - Fork 7.6k
error: std::round has not been declared #7077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @jatin-31 I was not able to reproduce the issue. |
This problem can reproduce in arduino-1.8.10. |
Yes, It got it fixed in 1.8.19 |
I'm running IDE v1.8.19 and having this issue so its not resolved for me.... any other suggestions/ideas? |
I'm also getting the exact same issue in v1.8.19. Would appreciate any help, as it doesn't seem to be solved. Here's my error: Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None" In file included from sketch\Colour_Test.ino.cpp:1:0: C:\Users\Ily\AppData\Local\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 Error compiling for board ESP32 Dev Module. |
If you repace it with only |
I was experiencing this problem and resolved it by changing the URL for the ESP32 board. The URL I was using, limited me to downloading the v1.x.x driver. Once I updated my URL to one provided by Adafruit, I can now download v2.0.x of the board driver and my compile error has been resolved. |
could you provide the URL so I can test this? I have issues on 1.8.19 I use these |
Here are the URL's I'm using (first is for my ESP8266): http://arduino.esp8266.com/stable/package_esp8266com_index.json I was using the URL #2 in your list and that was causing my compile error |
SOLVED thanks to this post |
@robomaniac ... that's where I learned which URL to use (I'm the same k5map in that post) :) |
I have the same problem, IDE 2.0.0, ESP32 Arduino 2.0.4. |
please try 2.0.5 @rkoehler2017 |
In file included from C:\Users\zippy\AppData\Local\Temp\arduino-sketch-DE440033806199EEE7E06FC98EE4618E\sketch\CameraWebServer.ino.cpp:1:0: exit status 1 Compilation error: exit status 1 |
@SoniaZotz Can you try installing or reinstalling arduino core inside Arduino IDE boards manager? It should fix the problem. |
I also did encounter that error but the only thing that work is deleting the arduino15 and reinstalling the arduino ide |
Board
ESP32-CAM
Device Description
WSP32-S
Hardware Configuration
HW-417-V1.2
Version
v2.0.4
IDE Name
Arduino
Operating System
Win 11
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
921600
Description
In file included from C:\Users*****\AppData\Local\Temp\arduino_build_766528\sketch\CameraWebServer.ino.cpp:1:0:
D:\OneDrive\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:183:12: error: 'std::round' has not been declared
using std::round;
^
Multiple libraries were found for "WiFi.h"
Used: D:\OneDrive\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\WiFi
Using library WiFi at version 2.0.0 in folder: D:\OneDrive\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
exit status 1
Error compiling for board ESP32 Wrover Module.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: