Comments (4)
Hallo Patrick,
hast Du die Master-Version genommen oder die Release-Fassung aus dem Arduino-Bibliotheksmanager?
from basecamp.
Hallo Merlin,
gestern habe ich viel nacheinander probiert, unterschiedliche Versionen der unterschiedlichen Bibliotheken, in der Regel aus dem Arduino-Bibliotheksmanager.
Ich habe jetzt in einem neuen Konto unter Ubunut frisch angefangen.
Installiert sind:
a95fa15b88b8dc4ddb79ac28665f763b arduino-1.8.5-linux64.tar.xz db7cbc5cd273a16b27d46f4d7aa1e07a arduino-esp32-master.zip 286078d192b22cf3779b04cc59f408aa ArduinoJson-master.zip b226b77f9c0c32cd3424f4dadd54423b async-mqtt-client-master.zip 9e84dd3f45c78978fdc4be5a46a330e4 AsyncTCP-master.zip 1b995326fcdc9dcc24e34d950abc72b2 Basecamp-0.1.8.zip 094b3753f48348dfd81c9cc30e2d6874 ESPAsyncWebServer-master.zip
Die aktuelle Ausgabe lautet
/home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp: In lambda function: /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:72:69: warning: 'typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type ArduinoJson::JsonBuffer::strdup(const TString&) [with TString = String; typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type = const char*]' is deprecated: char* are duplicated, you don't need strdup() anymore [-Wdeprecated-declarations] element["element"] = _jsonBuffer.strdup(interfaceElement.element); ^ In file included from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/JsonParser.hpp:7:0, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/JsonBufferBase.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/DynamicJsonBuffer.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.h:9, from /home/esp32/Arduino/libraries/ESPAsyncWebServer-master/src/AsyncJson.h:23, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.hpp:16, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:7: /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/../JsonBuffer.hpp:46:52: note: declared here const char *>::type strdup(const TString &src) { ^ /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:73:59: warning: 'typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type ArduinoJson::JsonBuffer::strdup(const TString&) [with TString = String; typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type = const char*]' is deprecated: char* are duplicated, you don't need strdup() anymore [-Wdeprecated-declarations] element["id"] = _jsonBuffer.strdup(interfaceElement.id); ^ In file included from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/JsonParser.hpp:7:0, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/JsonBufferBase.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/DynamicJsonBuffer.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.h:9, from /home/esp32/Arduino/libraries/ESPAsyncWebServer-master/src/AsyncJson.h:23, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.hpp:16, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:7: /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/../JsonBuffer.hpp:46:52: note: declared here const char *>::type strdup(const TString &src) { ^ /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:74:69: warning: 'typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type ArduinoJson::JsonBuffer::strdup(const TString&) [with TString = String; typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type = const char*]' is deprecated: char* are duplicated, you don't need strdup() anymore [-Wdeprecated-declarations] element["content"] = _jsonBuffer.strdup(interfaceElement.content); ^ In file included from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/JsonParser.hpp:7:0, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/JsonBufferBase.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/DynamicJsonBuffer.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.h:9, from /home/esp32/Arduino/libraries/ESPAsyncWebServer-master/src/AsyncJson.h:23, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.hpp:16, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:7: /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/../JsonBuffer.hpp:46:52: note: declared here const char *>::type strdup(const TString &src) { ^ /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:75:67: warning: 'typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type ArduinoJson::JsonBuffer::strdup(const TString&) [with TString = String; typename ArduinoJson::Internals::EnableIf<(! ArduinoJson::Internals::IsArray<T>::value), const char*>::type = const char*]' is deprecated: char* are duplicated, you don't need strdup() anymore [-Wdeprecated-declarations] element["parent"] = _jsonBuffer.strdup(interfaceElement.parent); ^ In file included from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/JsonParser.hpp:7:0, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/JsonBufferBase.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/DynamicJsonBuffer.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.hpp:7, from /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson.h:9, from /home/esp32/Arduino/libraries/ESPAsyncWebServer-master/src/AsyncJson.h:23, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.hpp:16, from /home/esp32/Arduino/libraries/Basecamp-0.1.8/WebServer.cpp:7: /home/esp32/Arduino/libraries/ArduinoJson-master/src/ArduinoJson/Deserialization/../JsonBuffer.hpp:46:52: note: declared here const char *>::type strdup(const TString &src) { ^ Sketch uses 930946 bytes (71%) of program storage space. Maximum is 1310720 bytes. Global variables use 47876 bytes (16%) of dynamic memory, leaving 247036 bytes for local variables. Maximum is 294912 bytes.
Das hat zwar kompiliert, war aber für mich gestern der Anlass, die unterschiedlichen Versionen über den Bibliotheksmanager durchzupermutieren, um einen stabilen Stand ohne Fehlermeldungen und Warnungen zu erreichen. Das hat vor ein paar Wochen auf einem anderen Rechner ja sauber funktioniert.... Daran bin ich tatsächlich gescheitert und würde sehr interessieren, welche Versionen der benötigten Bibliotheken ordentlich harmonieren.
Viele Grüße
Patrick
from basecamp.
Wie ist da der Stand?
Ich versuche das Minimal-Programm zu übersetzen:
void setup() { iot.begin(); }
Mit BaseCamp master bekomme ich
/home/hab/Arduino/libraries/Basecamp/mqttGuardInterface.cpp:1:34: fatal error: MqttGuardInterface.hpp: No such file or directory
Mit BaseCamp 0.1.8 kommen obige Warnungen. Die anderen Abhängigkeiten sind auf dem jeweiligen master.
Mein C++ ist leider nicht gut genug, um da durchzusteigen...
from basecamp.
Hrmpf. Jetzt hab ich nochmal einen git checkout 0.1.8 gemacht, und jetzt funktioniert das Übersetzen klaglos.
Nicht, dass ich das nicht vorher schon mal gemacht hätte...
EDV = Experimentelle Daten-Verarbeitung :-)
from basecamp.
Related Issues (20)
- Unstable OTA HOT 2
- findEndHeader off-by-one-error?
- Text Input for an e-paper door sign
- Guru Meditation Error: Core 0 panic'ed (LoadProhibited) HOT 4
- Boolean value inconsistencies in the configuration
- WLan Accesspoint HOT 2
- Externer Broker nicht erreichbar
- No Reconnect after MQTT Broker restart HOT 2
- multiple definition of `JSON_MIMETYPE' HOT 5
- ESP doesn't wake anymore
- Auf 192.168.4.1 wird Folgendes angezeigt Configuration could not be saved HOT 1
- Fix issues with ArduinoJSON 6.X
- Factory reset was forced nach Power off HOT 1
- Fehler beim Kompilieren von Basecamp mit Beispielsketch und Asynctcp.h HOT 6
- Basecamp stoppt vor doorsensor HOT 1
- Frequent MQTT posts, stopped MQTT connection, and task watchdog crashes on CPU0
- Standardwerte für hinzugefügte Elemente setzen
- OTA problem
- Accesspoint-Modus aktivieren (mit PW)
- Fehler beim Kompilieren HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basecamp.