easytarget / esp32-cam-webserver

Expanded version of the Espressif ESP webcam
https://hackaday.io/project/168563-7-esp32-cam-example-expanded
GNU Lesser General Public License v2.1
1.3k stars 352 forks source link

Error while compiling with Arduino IDE 1.8.19 #302

Open SchneHa opened 1 year ago

SchneHa commented 1 year ago

app_httpd.cpp:152:19: error: format '%i' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Werror=format=] Serial.printf("CPU Freq: %i MHz, Xclk Freq: %i MHz\r\n", ESP.getCpuFreqMHz(), xclk); ^~~~~~~~~ ~~~~

What board definition and library versions have to be present?

SchneHa commented 1 year ago

Board definition must be at least 2.0.2. Don't know if newer definitions work.