-
Notifications
You must be signed in to change notification settings - Fork 214
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
compilation Error in Arduino ide #61
Comments
thanks for the help, my compilation time problem is gone after upgradation of arduino-esp32 library. (for future reference) |
@nnjim - thanks for helping |
exit status 1 |
when i am trying to compile the code it is showing the error : 'esp_log_system_timestamp' was not declared in this scope
Arduino: 1.8.19 (Windows 10), Board: "AI Thinker ESP32-CAM, 240MHz (WiFi/BT), QIO, 80MHz"
Compiling sketch...
"C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'bool sendFtpCommand(const char*, const char*, const char*)':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:33:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Sent cmd: %s%s", cmd, param);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:39:5: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:50:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Rx code: %s, resp: %s", respCodeRx, rspBuf);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:54:5: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'bool ftpConnect()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:63:5: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:65:5: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'bool createFtpFolder(const char*)':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:78:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Check for folder %s", folderName);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'bool openDataPort()':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:109:5: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:115:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Data port: %i", dataPort);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:117:5: note: in expansion of macro 'LOG_ERR'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'bool ftpStoreFile(fs::File&)':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:131:3: note: in expansion of macro 'LOG_INF'
LOG_INF("Upload file: %s, size: %0.1fMB", ftpSaveName, (float)(fileSize)/ONEMEG);
^
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp: In function 'bool isAVI(fs::File&)':
avi.cpp:146:28: error: 'class fs::File' has no member named 'path'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:6:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'bool updateConfigMap(const char*, const char*)':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:42:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Key %s not found", variable);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ESP32-CAM_MJPEG2SD.ino:9:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ESP32-CAM_MJPEG2SD.ino: In function 'void setup()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ESP32-CAM_MJPEG2SD.ino:17:3: note: in expansion of macro 'LOG_INF'
LOG_INF("=============== Starting ===============");
^
mic.cpp:46:27: error: 'I2S_COMM_FORMAT_STAND_I2S' was not declared in this scope
.communication_format = I2S_COMM_FORMAT_STAND_I2S,
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp:37:0:
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp:147:5: note: in expansion of macro 'LOG_INF'
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp:151:5: note: in expansion of macro 'LOG_INF'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void controlFrameTimer(bool)':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:103:5: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:17:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp: In function 'bool isNight(uint8_t)':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:44:7: note: in expansion of macro 'LOG_INF'
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
"C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -MMD -c -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\ESPmDNS\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Preferences\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SD_MMC\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPIFFS\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Update\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WebServer\src" "-IC:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi\src" "C:\Users\Lenovo\AppData\Local\Temp\arduino_build_24916\sketch\uitilsSD.cpp" -o "C:\Users\Lenovo\AppData\Local\Temp\arduino_build_24916\sketch\uitilsSD.cpp.o"
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:51:7: note: in expansion of macro 'LOG_INF'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ds18b20.cpp:14:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ds18b20.cpp: In function 'void tryDS18B20()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ds18b20.cpp:76:20: note: in expansion of macro 'LOG_INF'
if (DS18Bfound) {LOG_INF("DS18B20 available");}
myConfig.h:296:109: error: 'esp_log_system_timestamp' was not declared in this scope
#define WRN_FORMAT(format) LOG_COLOR_WRN "[%s WARN %s] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:297:39: note: in expansion of macro 'WRN_FORMAT'
#define LOG_WRN(format, ...) logPrint(WRN_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ds18b20.cpp:77:9: note: in expansion of macro 'LOG_WRN'
else {LOG_WRN("DS18B20 device not found");} // in case not working
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'void uploadFolderOrFileFtp()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:163:5: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:6:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'bool retrieveConfigMap(const char*, char*)':
myConfig.h:296:109: error: 'esp_log_system_timestamp' was not declared in this scope
#define WRN_FORMAT(format) LOG_COLOR_WRN "[%s WARN %s] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:297:39: note: in expansion of macro 'WRN_FORMAT'
#define LOG_WRN(format, ...) logPrint(WRN_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:53:3: note: in expansion of macro 'LOG_WRN'
LOG_WRN("Key %s not found", variable);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp:15:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp: In function 'void stopMic()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp:83:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Stopped I2S_NUM_1 port");
^
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void openMjpeg()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:122:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("File opening time: %ums", oTime);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:17:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp: In function 'bool checkMotion(camera_fb_t*, bool)':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:76:5: note: in expansion of macro 'LOG_DBG'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:87:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("JPEG to greyscale conversion %u bytes in %lums", num_pixels, millis() - dTime);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:17:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:114:24: note: in expansion of macro 'LOG_ERR'
if (rgb_buf == NULL) LOG_ERR("Memory leak, heap now: %u, pSRAM now: %u", ESP.getFreeHeap(), ESP.getFreePsram());
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:17:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:117:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Detected %u changes, threshold %u, light level %u, in %lums", changeCount, moveThreshold, lightLevel, millis() - dTime);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp:15:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp: In function 'void prepMic()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp:131:3: note: in expansion of macro 'LOG_INF'
LOG_INF("Sound recording is %s", USE_MIC ? "On" : "Off");
^
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:121:5: note: in expansion of macro 'LOG_DBG'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:125:7: note: in expansion of macro 'LOG_DBG'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:135:7: note: in expansion of macro 'LOG_DBG'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:140:21: note: in expansion of macro 'LOG_DBG'
if (motionStatus) LOG_DBG("*** Motion - ongoing %u frames", motionCnt);
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void timeLapse()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:164:7: note: in expansion of macro 'LOG_INF'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp: In function 'size_t readClientBuf(fs::File&, byte*, size_t)':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp:240:5: note: in expansion of macro 'LOG_INF'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:17:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:146:7: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:17:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp:154:5: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:183:7: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:167:5: note: in expansion of macro 'LOG_ERR'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'void loadKeyVal(std::__cxx11::string)':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:64:12: note: in expansion of macro 'LOG_ERR'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp: In function 'void finishAudio(const char*, bool)':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mic.cpp:166:7: note: in expansion of macro 'LOG_INF'
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:172:5: note: in expansion of macro 'LOG_ERR'
ftp.cpp:178:28: error: 'class fs::File' has no member named 'path'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void saveFrame()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:221:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("SD storage time %u ms", wTime);
^
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\avi.cpp:309:15: note: in expansion of macro 'LOG_ERR'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:225:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("Frame processing time %u ms", fTime);
^
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:5:0:
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:181:5: note: in expansion of macro 'LOG_INF'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'bool closeMjpeg()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:232:3: note: in expansion of macro 'LOG_INF'
LOG_INF("Capture time %u, min seconds: %u ", captureTime, minSeconds);
^
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp: In function 'bool ftpFileOrFolder(const char*)':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\ftp.cpp:221:10: note: in expansion of macro 'LOG_ERR'
} else LOG_ERR("Unable to upload %s as another upload in progress", fileFolder);
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\motionDetect.cpp: In function 'bool jpg2rgb(const uint8_t*, size_t, uint8_t**, uint8_t)':
motionDetect.cpp:240:60: error: 'jpg_scale_t' was not declared in this scope
esp_err_t res = esp_jpg_decode(src_len, jpg_scale_t(scale), _jpg_read, _rgb_write, (void*)&jpeg);
motionDetect.cpp:240:98: error: 'esp_jpg_decode' was not declared in this scope
esp_err_t res = esp_jpg_decode(src_len, jpg_scale_t(scale), _jpg_read, _rgb_write, (void*)&jpeg);
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'void saveConfigMap()':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:79:14: note: in expansion of macro 'LOG_ERR'
if (!file) LOG_ERR("Failed to save to configs file");
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:88:5: note: in expansion of macro 'LOG_INF'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'boolean processFrame()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:328:9: note: in expansion of macro 'LOG_INF'
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:340:11: note: in expansion of macro 'LOG_INF'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'bool savePrefs()':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:110:5: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:350:7: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:353:5: note: in expansion of macro 'LOG_ERR'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'esp_err_t updateStatus(const char*, const char*)':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:164:5: note: in expansion of macro 'LOG_INF'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void openSDfile(const char*)':
myConfig.h:296:109: error: 'esp_log_system_timestamp' was not declared in this scope
#define WRN_FORMAT(format) LOG_COLOR_WRN "[%s WARN %s] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:297:39: note: in expansion of macro 'WRN_FORMAT'
#define LOG_WRN(format, ...) logPrint(WRN_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:437:5: note: in expansion of macro 'LOG_WRN'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp: In function 'bool loadConfig()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\prefs.cpp:295:3: note: in expansion of macro 'LOG_INF'
LOG_INF("Loading config..");
^
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:441:5: note: in expansion of macro 'LOG_INF'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void readSD()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:462:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("SD read time %lu ms", millis() - rTime);
^
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'size_t* getNextFrame()':
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:490:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("http send time %lu ms", millis() - hTime);
^
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:497:7: note: in expansion of macro 'LOG_DBG'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:501:7: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:509:7: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:516:7: note: in expansion of macro 'LOG_DBG'
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:523:9: note: in expansion of macro 'LOG_DBG'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:9:0:
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:547:7: note: in expansion of macro 'LOG_INF'
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:551:7: note: in expansion of macro 'LOG_INF'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void stopPlaying()':
myConfig.h:296:109: error: 'esp_log_system_timestamp' was not declared in this scope
#define WRN_FORMAT(format) LOG_COLOR_WRN "[%s WARN %s] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:297:39: note: in expansion of macro 'WRN_FORMAT'
#define LOG_WRN(format, ...) logPrint(WRN_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:584:7: note: in expansion of macro 'LOG_WRN'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'bool prepMjpeg()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:618:3: note: in expansion of macro 'LOG_INF'
LOG_INF("To record new MJPEG, do one of:");
^
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp: In function 'void startSDtasks()':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\mjpeg2sd.cpp:630:5: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp: In function 'void infoSD()':
myConfig.h:296:109: error: 'esp_log_system_timestamp' was not declared in this scope
#define WRN_FORMAT(format) LOG_COLOR_WRN "[%s WARN %s] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:297:39: note: in expansion of macro 'WRN_FORMAT'
#define LOG_WRN(format, ...) logPrint(WRN_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:12:30: note: in expansion of macro 'LOG_WRN'
if (cardType == CARD_NONE) LOG_WRN("No SD card attached");
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:23:5: note: in expansion of macro 'LOG_INF'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp: In function 'bool prepSD_MMC()':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:49:5: note: in expansion of macro 'LOG_ERR'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp: In function 'void getOldestDir(char*)':
uitilsSD.cpp:58:36: error: 'class fs::File' has no member named 'path'
if (file) strcpy(oldestDir, file.path()); // initialise oldestDir
uitilsSD.cpp:62:34: error: 'class fs::File' has no member named 'path'
uitilsSD.cpp:63:30: error: 'class fs::File' has no member named 'path'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:5:0:
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp: In function 'bool checkFreeSpace()':
myConfig.h:294:77: error: 'esp_log_system_timestamp' was not declared in this scope
#define INF_FORMAT(format) "[%s %s] " format "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:39: note: in expansion of macro 'INF_FORMAT'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:82:3: note: in expansion of macro 'LOG_INF'
LOG_INF("Card free space: %uMB", freeSize);
^
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp: In function 'bool listDir(const char*, char*, size_t, const char*)':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:114:16: note: in expansion of macro 'LOG_ERR'
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:115:30: note: in expansion of macro 'LOG_ERR'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:5:0:
myConfig.h:300:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define DBG_FORMAT(format) LOG_COLOR_DBG "[%s DEBUG @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:301:55: note: in expansion of macro 'DBG_FORMAT'
#define LOG_DBG(format, ...) if (dbgVerbose) logPrint(DBG_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:116:5: note: in expansion of macro 'LOG_DBG'
uitilsSD.cpp:126:50: error: 'class fs::File' has no member named 'path'
uitilsSD.cpp:133:60: error: 'class fs::File' has no member named 'path'
In file included from C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:5:0:
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:149:9: note: in expansion of macro 'LOG_ERR'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp: In function 'void deleteFolderOrFile(const char*)':
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:163:5: note: in expansion of macro 'LOG_ERR'
myConfig.h:298:115: error: 'esp_log_system_timestamp' was not declared in this scope
#define ERR_FORMAT(format) LOG_COLOR_ERR "[%s ERROR @ %s:%u] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), pathToFileName(FILE), LINE
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:299:39: note: in expansion of macro 'ERR_FORMAT'
#define LOG_ERR(format, ...) logPrint(ERR_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:169:5: note: in expansion of macro 'LOG_ERR'
myConfig.h:296:109: error: 'esp_log_system_timestamp' was not declared in this scope
#define WRN_FORMAT(format) LOG_COLOR_WRN "[%s WARN %s] " format LOG_NO_COLOR "\n", esp_log_system_timestamp(), FUNCTION
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:297:39: note: in expansion of macro 'WRN_FORMAT'
#define LOG_WRN(format, ...) logPrint(WRN_FORMAT(format), ##VA_ARGS)
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\uitilsSD.cpp:172:3: note: in expansion of macro 'LOG_WRN'
LOG_WRN("Deleting : %s", deleteThis);
^
uitilsSD.cpp:178:58: error: 'class fs::File' has no member named 'path'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:61: note: in definition of macro 'LOG_INF'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
uitilsSD.cpp:179:62: error: 'class fs::File' has no member named 'path'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:61: note: in definition of macro 'LOG_INF'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
uitilsSD.cpp:180:28: error: 'class fs::File' has no member named 'path'
C:\Users\Lenovo\OneDrive\Documents\Arduino\ESP32-CAM_MJPEG2SD\myConfig.h:295:61: note: in definition of macro 'LOG_INF'
#define LOG_INF(format, ...) logPrint(INF_FORMAT(format), ##VA_ARGS)
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Using library ESPmDNS at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\ESPmDNS
Using library Preferences at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Preferences
Using library SD_MMC at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SD_MMC
Using library FS at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS
Using library SPIFFS at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPIFFS
Using library Update at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Update
Using library WebServer at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WebServer
Using library WiFi at version 1.0 in folder: C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
exit status 1
'esp_log_system_timestamp' was not declared in this scope
The text was updated successfully, but these errors were encountered: