Giter Site home page Giter Site logo

0.1.8 broken? about basecamp HOT 4 OPEN

ct-open-source avatar ct-open-source commented on May 27, 2024
0.1.8 broken?

from basecamp.

Comments (4)

merlinschumacher avatar merlinschumacher commented on May 27, 2024

Hallo Patrick,

hast Du die Master-Version genommen oder die Release-Fassung aus dem Arduino-Bibliotheksmanager?

from basecamp.

pvdh avatar pvdh commented on May 27, 2024

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.

Narsskrarc avatar Narsskrarc commented on May 27, 2024

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.

Narsskrarc avatar Narsskrarc commented on May 27, 2024

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)

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.