-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I keep running into compilation issues when verifying the example sketch that don't make much sense. I didn't capture the compiler output from the first couple issues, but I'll paraphrase
-
request = requestDoc.to(); -Rest-Esp8266.h - compiler reported not enough arguments provided to DynamicJsonDocument. Resolved by blowing away the library as downloaded by Arduino and replaced with a pull from GitHub
-
using Exception = Exception; - Node.h:85:42: error: declaration of 'using Exception = class Rest::Exception<Rest::Node >'. Can be resolved by replacing the alias in Node.h
-
typedef Esp8266RestRequestHandler RestRequestHandler; - Restfully.h:7:1: error: expected constructor, destructor, or type conversion before 'typedef'. Latest error
Seems to me that I'm missing something or my library keeps getting corrupted somehow. Is there anything unique needed to compile the example sketch? I am using ArduinoJson 6.5 and included stdio.h just for chuckles