You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
i'm getting complication error with the unediting examples. I've looked through other errors and tried using arduino 1.6. as well as older versions of both arduinoFirebase and ArduinoJSON. I've also tried compiling for generic esp8266. All give the same error. Please advise. :)
Build options changed, rebuilding all
In file included from /Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/Firebase.h:30:0,
from /Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseArduino.h:22,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:23:
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseObject.h:109:21: error: 'StaticJsonBuffer' was not declared in this scope
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseObject.h:109:21: note: suggested alternative:
In file included from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:10,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:1:
/Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
In file included from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/JsonObject.hpp:7:0,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/DynamicJsonDocument.hpp:8,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:9,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:1:
/Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/./JsonObjectData.hpp:18:65: error: template argument 1 is invalid
sizeof(ArduinoJson::Internals::JsonObjectData::node_type))
^
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseObject.h:28:34: note: in expansion of macro 'JSON_OBJECT_SIZE'
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)
^
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseObject.h:109:38: note: in expansion of macro 'FIREBASE_JSONBUFFER_SIZE'
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from /Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/Firebase.h:30:0,
from /Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseArduino.h:22,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:23:
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseObject.h:109:62: error: expected unqualified-id before '>' token
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from /Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseArduino.h:22:0,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:23:
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/Firebase.h:86:19: error: 'StaticJsonBuffer' was not declared in this scope
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/Firebase.h:86:19: note: suggested alternative:
In file included from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:10,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:1:
/Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
In file included from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/JsonObject.hpp:7:0,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/DynamicJsonDocument.hpp:8,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:9,
from /Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:1:
/Users/Sam/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/./JsonObjectData.hpp:18:65: error: template argument 1 is invalid
sizeof(ArduinoJson::Internals::JsonObjectData::node_type))
^
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseObject.h:28:34: note: in expansion of macro 'JSON_OBJECT_SIZE'
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)
^
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/Firebase.h:86:36: note: in expansion of macro 'FIREBASE_JSONBUFFER_SIZE'
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from /Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseArduino.h:22:0,
from /Users/Sam/Desktop/firebaseArduinoTest/firebaseArduinoTest.ino:23:
/Users/Sam/Documents/Arduino/libraries/firebase-arduino-master/src/Firebase.h:86:60: error: expected unqualified-id before '>' token
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
i'm getting complication error with the unediting examples. I've looked through other errors and tried using arduino 1.6. as well as older versions of both arduinoFirebase and ArduinoJSON. I've also tried compiling for generic esp8266. All give the same error. Please advise. :)
The text was updated successfully, but these errors were encountered: