Problem with using painlessMesh
Posted: Sun Aug 23, 2020 5:49 pm
G'Day,
I am using an unedited Basic.ino from the painless library.
Am getting a variety of errors.
The first is;
Error while detecting libraries included by C:\Users\Grant\Documents\Arduino\libraries\ESPAsyncTCP-master\src\ESPAsyncTCP.cpp
But it still compiles past that point.
Then I get a sea of red errors :
C:\Users\Grant\Documents\Arduino\libraries\painlessMesh-master\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::Single::addTo(ArduinoJson::JsonObject&&) const':
C:\Users\Grant\Documents\Arduino\libraries\painlessMesh-master\src/painlessmesh/protocol.hpp:82:12: [b][b]error: use of deleted function[/b][/b] 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'
return jsonObj;
^
Any ideas....
I am using an unedited Basic.ino from the painless library.
Am getting a variety of errors.
The first is;
Error while detecting libraries included by C:\Users\Grant\Documents\Arduino\libraries\ESPAsyncTCP-master\src\ESPAsyncTCP.cpp
But it still compiles past that point.
Then I get a sea of red errors :
C:\Users\Grant\Documents\Arduino\libraries\painlessMesh-master\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::Single::addTo(ArduinoJson::JsonObject&&) const':
C:\Users\Grant\Documents\Arduino\libraries\painlessMesh-master\src/painlessmesh/protocol.hpp:82:12: [b][b]error: use of deleted function[/b][/b] 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'
return jsonObj;
^
Any ideas....