Open dodo124 opened 5 years ago
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.
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.
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,
C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:70:5: error: 'DynamicJsonBuffer' does not name a type
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
C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:80:17: error: '_jsonBuffer' was not declared in this scope
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'
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
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'
In file included from C:\Users...\Documents\Arduino\libraries\Basecamp-master/WebServer.hpp:16:0,
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
C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:137:28: error: 'jsonBuffer' was not declared in this scope
C:\Users...\Documents\Arduino\libraries\ESPAsyncWebServer-master\src/AsyncJson.h:138:18: error: 'class ArduinoJson650_0_0::JsonVariant' has no member named '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.