I have just updated ARDUINO to 2.0, down loaded all the up date and started the example CAMWEBSERVER
However I recieve the compliation error as below
Could you explain where is the problem
Using board ‘esp32cam’ from platform in folder: C:\Users\Michel\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4
Using core ‘esp32’ from platform in folder: C:\Users\Michel\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4
cmd /c if exist “C:\\Users\\Michel\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2023022-1264-1hbmql1.qhu7\\CameraWebServer\\partitions.csv” COPY /y “C:\\Users\\Michel\\AppData\\Local\\Temp\\.arduinoIDE-
(…)
IC:\\Users\\Michel\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4\\cores\\esp32” “-IC:\\Users\\Michel\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4\\variants\\esp32” “-IC:\\Users\\Michel\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4\\libraries\\WiFi\\src” “C:\\Users\\Michel\\AppData\\Local\\Temp\\arduino-sketch-5585E08FC1B55E9553E2218AAFFBAEAA\\sketch\\CameraWebServer.ino.cpp” -o “C:\\Users\\Michel\\AppData\\Local\\Temp\\arduino-sketch-5585E08FC1B55E9553E2218AAFFBAEAA\\sketch\\CameraWebServer.ino.cpp.o”
Utilisation du fichier déjà compilé: C:\Users\Michel\AppData\Local\Temp\arduino-sketch-5585E08FC1B55E9553E2218AAFFBAEAA\sketch\app_httpd.cpp.o
In file included from C:\Users\Michel\AppData\Local\Temp\arduino-sketch-5585E08FC1B55E9553E2218AAFFBAEAA\sketch\CameraWebServer.ino.cpp:1:0:
C:\Users\Michel\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;
^
Utilisation de la bibliothèque WiFi version 2.0.0 dans le dossier: C:\Users\Michel\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
exit status 1
Compilation error: exit status 1
Hi.
Does the example work well with Arduino 1.8.X?
Arduino 2.0 is known to have some issues with some ESP32 libraries.
Regards,
Sara
You are absolutely correct but its was not obvious for me
I have re installed ARDUINO 1.8.9 and there, NO problem
Strange. I hope ARDUINO 2.0 will accept it soon
Thanks