Description
too many errors, what are the dependency libraries
`In file included from C:\Users\user\Desktop\New folder\ESP8266-Sprinkler-Timer-master\sprinkler\sprinkler.ino:9:0:
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:86:5: error: 'DynamicJsonDocument' does not name a type
DynamicJsonDocument _jsonBuffer;
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In constructor 'AsyncJsonResponse::AsyncJsonResponse(bool, size_t)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:104:100: error: class 'AsyncJsonResponse' does not have any field named '_jsonBuffer'
AsyncJsonResponse(bool isArray=false, size_t maxJsonBufferSize = DYNAMIC_JSON_DOCUMENT_SIZE) : _jsonBuffer(maxJsonBufferSize), _isValid{false} {
^
In file included from C:\Users\user\Desktop\New folder\ESP8266-Sprinkler-Timer-master\sprinkler\sprinkler.ino:9:0:
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:108:17: error: '_jsonBuffer' was not declared in this scope
_root = _jsonBuffer.createNestedArray();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:110:17: error: '_jsonBuffer' was not declared in this scope
_root = _jsonBuffer.createNestedObject();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'size_t AsyncJsonResponse::setLength()':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:122:41: error: 'measureJson' was not declared in this scope
_contentLength = measureJson(_root);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'size_t AsyncJsonResponse::getSize()':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:129:30: error: '_jsonBuffer' was not declared in this scope
size_t getSize() { return _jsonBuffer.size(); }
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'virtual size_t AsyncJsonResponse::_fillBuffer(uint8_t*, size_t)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:137:32: error: 'serializeJson' was not declared in this scope
serializeJson(_root, dest);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'size_t PrettyAsyncJsonResponse::setLength()':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:154:43: error: 'measureJsonPretty' was not declared in this scope
_contentLength = measureJsonPretty(_root);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'virtual size_t PrettyAsyncJsonResponse::_fillBuffer(uint8_t*, size_t)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:164:34: error: 'serializeJsonPretty' was not declared in this scope
serializeJsonPretty(_root, dest);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'virtual void AsyncCallbackJsonWebHandler::handleRequest(AsyncWebServerRequest*)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:222:9: error: 'DynamicJsonDocument' was not declared in this scope
DynamicJsonDocument jsonBuffer(this->maxJsonBufferSize);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:222:29: error: expected ';' before 'jsonBuffer'
DynamicJsonDocument jsonBuffer(this->maxJsonBufferSize);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:223:9: error: 'DeserializationError' was not declared in this scope
DeserializationError error = deserializeJson(jsonBuffer, (uint8_t*)(request->_tempObject));
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:223:30: error: expected ';' before 'error'
DeserializationError error = deserializeJson(jsonBuffer, (uint8_t*)(request->_tempObject));
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:224:13: error: 'error' was not declared in this scope
if(!error) {
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:225:30: error: 'jsonBuffer' was not declared in this scope
JsonVariant json = jsonBuffer.as<JsonVariant>();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:225:55: error: expected primary-expression before '>' token
JsonVariant json = jsonBuffer.as<JsonVariant>();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:225:57: error: expected primary-expression before ')' token
JsonVariant json = jsonBuffer.as<JsonVariant>();
^
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).
Invalid library found in C:\Users\user\Documents\Arduino\libraries\ESP8266-Sprinkler-Timer-master: C:\Users\user\Documents\Arduino\libraries\ESP8266-Sprinkler-Timer-master
SPIFFS Warning: mkspiffs canceled!
`