Giter Club home page Giter Club logo

esp8266-sprinkler-timer's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

d15c0

esp8266-sprinkler-timer's Issues

Does not compile

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!
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.