jameszah / ESP32-CAM-Video-Recorder

Video Recorder for ESP32-CAM with http server for config and ftp (or http) server to download video
GNU General Public License v3.0
453 stars 102 forks source link

C++ compile errors #52

Closed boomyville closed 2 years ago

boomyville commented 3 years ago

I'm getting a whole bunch of errors when compiling the .cpp files in arduino I had no issues with an older installation of Arduino but with the new one I'm getting errors such as:

TimeLapseAvi94x:776:77: error: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Werror=format=] sprintf(the_page, msg, vernum, devname, localip, use, tot, rssi, strdate); //fname

TimeLapseAvi94x:835:75: error: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Werror=format=] sprintf(the_page, msg, vernum, devname, localip, use, tot, rssi, strdate); //fname

Anyone have any idea in addressing this? I'm sure its just an option in Arduino that can fix this as I had no issues compiling and uploading the code previously

jameszah commented 3 years ago

Check this:

image