Esp8266_deauther: DynamicJsonBuffer

Created on 15 Jun 2018  路  4Comments  路  Source: SpacehuhnTech/esp8266_deauther

While compiling I got an error saying that 'DynamicJsonBuffer' has not been declared. I followed the wiki step by step and have tried to look up on a fix to it and haven't come up with anything. Thank you for the support

Arduino: 1.8.6 Hourly Build 2018/06/12 11:33 (Windows 10), Board: "Generic ESP8266 Module, Serial, 160 MHz, 80MHz, DIO, 9600, 1M (256K SPIFFS), nodemcu"

In file included from sketch\Accesspoints.h:11:0,

                 from sketch\Accesspoints.cpp:1:

Names.h:18:47: error: 'DynamicJsonBuffer' has not been declared

 extern JsonVariant parseJSONFile(String path, DynamicJsonBuffer &jsonBuffer);

                                               ^

Multiple libraries were found for "ArduinoJson.h"
 Used: C:\Users\caden\Documents\Arduino\libraries\ArduinoJson
 Not used: C:\Users\caden\AppData\Local\Arduino15\packages\deauther\hardware\esp8266\2.0.0-deauther\libraries\ArduinoJson
exit status 1
'DynamicJsonBuffer' has not been declared

Could not find boards.txt in C:\Users\caden\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0. Is it pre-1.5?
help wanted

Most helpful comment

other workaround: rollback to a non-beta version of ArduinoJSON library, this is a known bug

All 4 comments

I had this error when using the wrong ArduinoJson library. It's important to use the one sources from esp8266_deauther rather than the latest from Arduino. In my case, I had both and there was a warning it was using the newer Arduino library. Once I removed it, it defaulted to the one from esp8266_deauther and the compile succeeded.

other workaround: rollback to a non-beta version of ArduinoJSON library, this is a known bug

Ooo

I installed non beta version and it help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tobybear picture tobybear  路  4Comments

joneroy picture joneroy  路  3Comments

sy9039 picture sy9039  路  5Comments

ghost picture ghost  路  3Comments

crazyguy830 picture crazyguy830  路  3Comments