Skip to content
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

compiling error the code #28

Open
dodo124 opened this issue Oct 28, 2018 · 2 comments
Open

compiling error the code #28

dodo124 opened this issue Oct 28, 2018 · 2 comments

Comments

@dodo124
Copy link

dodo124 commented Oct 28, 2018

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.

@jamct
Copy link
Owner

jamct commented Nov 21, 2018

You ran into a lot of problems with dependencies of this project.
I am currently refactoring this project. My experiments with Platform.io are very promising. Compared to Arduino IDE it has a per-project dependency management!
I will keep you informed if there are any news.

@jdede
Copy link
Collaborator

jdede commented Jan 14, 2019

Which version of ArduinoJson do you have installed? I guess it is version 6.x... This is still beta and not very stable. Furthermore, it has several API changes. Downgrade to the latest 5.x version (should be 5.13.4) via the library manager -- and don't upgrade it if suggested by the board manager... ;-) This should solve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants