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
In file included from C:\Users\kylem\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonDocument.hpp:10:0,
from C:\Users\kylem\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9,
from C:\Users\kylem\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from sketch\OctoPrintClient.h:26,
from sketch\OctoPrintClient.cpp:24:
I'm getting this same issue - ```
sketch/OpenWeatherMapClient.cpp: In member function 'void OpenWeatherMapClient::updateWeather()':
OpenWeatherMapClient.cpp:78:3: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(bufferSize);
I get this error message:
Arduino: 1.8.5 (Windows 10), Board: "WeMos D1 R2 & mini, 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
sketch\OctoPrintClient.cpp: In member function 'void OctoPrintClient::getPrinterJobResults()':
OctoPrintClient.cpp:125: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(bufferSize);
^
sketch\OctoPrintClient.cpp:125:3: note: suggested alternative:
In file included from C:\Users\kylem\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonDocument.hpp:10:0,
C:\Users\kylem\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/DynamicJsonBuffer.hpp:159:5: note: 'ArduinoJson::Internals::DynamicJsonBuffer'
OctoPrintClient.cpp:125: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(bufferSize);
OctoPrintClient.cpp:128: error: 'jsonBuffer' was not declared in this scope
JsonObject& root = jsonBuffer.parseObject(printClient);
OctoPrintClient.cpp:161: error: expected ';' before 'jsonBuffer2'
DynamicJsonBuffer jsonBuffer2(bufferSize2);
OctoPrintClient.cpp:164: error: 'jsonBuffer2' was not declared in this scope
JsonObject& root2 = jsonBuffer2.parseObject(printClient);
exit status 1
'DynamicJsonBuffer' was not declared in this scope
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: