FirebaseExtended / firebase-arduino

Arduino samples for Firebase.
Apache License 2.0
947 stars 494 forks source link

json buffer problem past 1 week i keep on trying it is showing this problem #449

Open sujithkumarjp opened 5 years ago

sujithkumarjp commented 5 years ago

Build options changed, rebuilding all In file included from C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\src/Firebase.h:30:0,

             from C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\src/FirebaseArduino.h:22,

             from C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\examples\FirebaseDemo_ESP8266\FirebaseDemo_ESP8266.ino:21:

C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\src/FirebaseObject.h:109:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

 std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;

       ^

In file included from C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\src/FirebaseArduino.h:22:0,

             from C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\examples\FirebaseDemo_ESP8266\FirebaseDemo_ESP8266.ino:21:

C:\Users\admin\Documents\Arduino\libraries\firebase-arduino-0.3\src/Firebase.h:86:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

std::shared_ptr<StaticJsonBuffer> buffer_;

       ^

exit status 1 Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

technowhiz commented 5 years ago

downgrade your arduinojson version to 5.13.x in arduino libraries. refer here

technowhiz commented 5 years ago

duplicate to issue #426