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

Problem on Compile #23

Open
Barone1968 opened this issue Jan 10, 2022 · 0 comments
Open

Problem on Compile #23

Barone1968 opened this issue Jan 10, 2022 · 0 comments

Comments

@Barone1968
Copy link

This is error message:

Can help Me...thanks

Arduino:1.8.19 (Windows 7), Scheda:"DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:117:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

 DynamicJsonBuffer jsonBuffer;

       ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:192:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

     DynamicJsonBuffer jsonBuffer;

       ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:266:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

StaticJsonBuffer<2000> JSONbuffer;

       ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp: In member function 'void WiFiMQTTManager::setup(String)':

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:117:23: error: 'jsonBuffer' was not declared in this scope

 DynamicJsonBuffer jsonBuffer;

                   ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:130:10: error: 'ArduinoJson::JsonObject {aka class ArduinoJson6190_F1::ObjectRef}' has no member named 'prettyPrintTo'

 json.prettyPrintTo(Serial);

      ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:131:10: error: 'ArduinoJson::JsonObject {aka class ArduinoJson6190_F1::ObjectRef}' has no member named 'printTo'

 json.printTo(configFile);

      ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp: In member function 'void WiFiMQTTManager::_setupSpiffs()':

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:192:27: error: 'jsonBuffer' was not declared in this scope

     DynamicJsonBuffer jsonBuffer;

                       ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:194:14: error: 'ArduinoJson::JsonObject {aka class ArduinoJson6190_F1::ObjectRef}' has no member named 'printTo'

     json.printTo(Serial);

          ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:195:18: error: 'ArduinoJson::JsonObject {aka class ArduinoJson6190_F1::ObjectRef}' has no member named 'success'

     if (json.success()) {

              ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp: In member function 'void WiFiMQTTManager::_registerDevice()':

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:266:19: error: expected primary-expression before '<' token

StaticJsonBuffer<2000> JSONbuffer;

               ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:266:26: error: 'JSONbuffer' was not declared in this scope

StaticJsonBuffer<2000> JSONbuffer;

                      ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:282:8: error: 'ArduinoJson::JsonObject {aka class ArduinoJson6190_F1::ObjectRef}' has no member named 'printTo'

root.printTo(messageBuffer, sizeof(messageBuffer));

    ^

C:\Program Files (x86)\Arduino\libraries\WifiMQTTManager\src\WiFiMQTTManager.cpp:286:8: error: 'ArduinoJson::JsonObject {aka class ArduinoJson6190_F1::ObjectRef}' has no member named 'prettyPrintTo'

root.prettyPrintTo(Serial);

    ^

Più di una libreria trovata per "WiFi.h"

Usata: C:\Users\Soaco\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi

Non usata: C:\Program Files (x86)\Arduino\libraries\WiFi

exit status 1

Errore durante la compilazione per la scheda DOIT ESP32 DEVKIT V1.

Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"

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

1 participant