Skip to content

compiling error the code #28

@dodo124

Description

@dodo124

Hello, for unknown reasons. The compiling procedure stucks a some point?
I can´t figure out why. I did not change anything and it should work froim the startt. All errors occour- yeah I don´t know.

Any ideas?

Thanks in advance.

Regards Dominik

Below is the error code:

"Arduino: 1.8.7 (Windows 7), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 115200, None"

WARNUNG: Bibliothek async-mqtt-client-0.8.1 behauptet auf (esp8266) Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf (esp32) Architektur(en) ausgeführt wird.
In file included from C:\Users...\Documents\Arduino\libraries\Basecamp-master/WebServer.hpp:16:0,

             from C:\Users\...\Documents\Arduino\libraries\Basecamp-master/Basecamp.hpp:23,

             from C:\Users\...\Documents\Arduino\libraries\DoorsignEPD-master\DoorsignEPD-master\esp32\doorsignEPD\doorsignEPD.ino:5:

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:70:5: error: 'DynamicJsonBuffer' does not name a type

 DynamicJsonBuffer _jsonBuffer;

 ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h: In constructor 'AsyncJsonResponse::AsyncJsonResponse(bool)':

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:78:17: error: '_jsonBuffer' was not declared in this scope

     _root = _jsonBuffer.createArray();

             ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:80:17: error: '_jsonBuffer' was not declared in this scope

     _root = _jsonBuffer.createObject();

             ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h: In member function 'size_t AsyncJsonResponse::setLength()':

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:86:30: error: 'class ArduinoJson650_0_0::JsonVariant' has no member named 'measureLength'

   _contentLength = _root.measureLength();

                          ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h: In member function 'size_t AsyncJsonResponse::getSize()':

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:91:30: error: '_jsonBuffer' was not declared in this scope

size_t getSize() { return _jsonBuffer.size(); }

                          ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h: In member function 'virtual size_t AsyncJsonResponse::_fillBuffer(uint8_t*, size_t)':

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:95:13: error: 'class ArduinoJson650_0_0::JsonVariant' has no member named 'printTo'

   _root.printTo( dest ) ;

         ^

In file included from C:\Users...\Documents\Arduino\libraries\Basecamp-master/WebServer.hpp:16:0,

             from C:\Users\...\Documents\Arduino\libraries\Basecamp-master/Basecamp.hpp:23,

             from C:\Users\...\Documents\Arduino\libraries\DoorsignEPD-master\DoorsignEPD-master\esp32\doorsignEPD\doorsignEPD.ino:5:

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h: In member function 'virtual void AsyncCallbackJsonWebHandler::handleRequest(AsyncWebServerRequest*)':

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:136:9: error: 'DynamicJsonBuffer' was not declared in this scope

     DynamicJsonBuffer jsonBuffer;

     ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:137:28: error: 'jsonBuffer' was not declared in this scope

     JsonVariant json = jsonBuffer.parse((uint8_t*)(request->_tempObject));

                        ^

C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:138:18: error: 'class ArduinoJson650_0_0::JsonVariant' has no member named 'success'

     if (json.success()) {

              ^

Mehrere Bibliotheken wurden für "WiFi.h" gefunden
Benutzt: C:\Users...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries\WiFi
Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
Fehler beim Kompilieren für das Board DOIT ESP32 DEVKIT V1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions