Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problems with platformio #97

Open
remrat opened this issue Jan 19, 2020 · 1 comment
Open

Build problems with platformio #97

remrat opened this issue Jan 19, 2020 · 1 comment

Comments

@remrat
Copy link

remrat commented Jan 19, 2020

Clean install... Getting build errors:

StaticJsonDocument<312> jsonBuffer;
^
C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:76:50: error: 'deserializeJson' was not declared in this scope
auto error = deserializeJson(jsonBuffer, bufPtr);
^
C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:45: error: expected primary-expression before '>' token
JsonObject root = jsonBuffer.to();

                                         ^

C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:47: error: expected primary-expression before ')' token
JsonObject root = jsonBuffer.to();
^

@webgps
Copy link

webgps commented Jan 21, 2020

Clean install... Getting build errors:

StaticJsonDocument<312> jsonBuffer;
^
C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:76:50: error: 'deserializeJson' was not declared in this scope
auto error = deserializeJson(jsonBuffer, bufPtr);
^
C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:45: error: expected primary-expression before '>' token
JsonObject root = jsonBuffer.to();

                                         ^

C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:47: error: expected primary-expression before ')' token
JsonObject root = jsonBuffer.to();
^

Hi remrat,

What is ArduinoJson version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants