mdhiggins / ESP8266-HTTP-IR-Blaster

ESP8266 Compatible IR Blaster that accepts HTTP commands for use with services like Amazon Echo
MIT License
978 stars 218 forks source link

error: 'DynamicJsonBuffer' does not name a type #232

Closed jenswes closed 5 years ago

jenswes commented 5 years ago

Hi, thanks for your work, sounds very promising :-)

but when building the sketch i've this error:

Arduino: 1.8.8 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Enabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

IRController:54:1: error: 'DynamicJsonBuffer' does not name a type IRController:55:27: error: 'jsonBuffer' was not declared in this scope JsonObject& deviceState = jsonBuffer.createObject();

also it would be nice if you could upload a bin file for flashing, for a test this could be enough

thanks,

jens

jenswes commented 5 years ago

well, looks like more people have this:

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

'ill try this

jenswes commented 5 years ago

ok, that helps a lot :-) it builds fine now

mdhiggins commented 5 years ago

Don’t use the beta of ArduinoJson and that will get better

Sent from my iPhone

On Dec 14, 2018, at 4:44 PM, jenswes notifications@github.com wrote:

Hi, thanks for your work, sounds very promising :-)

but when building the sketch i've this error:

Arduino: 1.8.8 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Enabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

IRController:54:1: error: 'DynamicJsonBuffer' does not name a type IRController:55:27: error: 'jsonBuffer' was not declared in this scope JsonObject& deviceState = jsonBuffer.createObject();

also it would be nice if you could upload a bin file for flashing, for a test this could be enough

thanks,

jens

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

MrityunjaiKumar commented 5 years ago

Added specific ArduinoJson version in platform.ini. Created a pull request to merge.

https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster/pull/260