You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add Webthings to an existing Arduino sketch that has a built in webserver (ESP32 network camera), and got a lot of this:
In file included from /Users/teefrapsidasie/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
from /Users/teefrapsidasie/Documents/Arduino/ttgo_cam_off-mashup-webthings/ttgo_cam_off-mashup-webthings.ino:9:
/Users/teefrapsidasie/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:5:18: error: redeclaration of 'HTTP_GET'
HTTP_GET = 0b00000001,
^
In file included from /Users/teefrapsidasie/Documents/Arduino/libraries/webthing-arduino/Thing.h:19:0,
from /Users/teefrapsidasie/Documents/Arduino/ttgo_cam_off-mashup-webthings/ttgo_cam_off-mashup-webthings.ino:3:
/Users/teefrapsidasie/Documents/Arduino/libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:62:3: note: previous declaration 'WebRequestMethod HTTP_GET'
HTTP_GET = 0b00000001,
^
In file included from /Users/teefrapsidasie/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/WebServer.h:30:0,
from /Users/teefrapsidasie/Documents/Arduino/ttgo_cam_off-mashup-webthings/ttgo_cam_off-mashup-webthings.ino:9:
/Users/teefrapsidasie/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WebServer/src/HTTP_Method.h:6:18: error: redeclaration of 'HTTP_POST'
HTTP_POST = 0b00000010,
^
It's probably obvious that the WebThings library acts as a webserver, but I didn't expect it. I thought it would just generate json, which a webserver could then serve. Not complaining though.
The text was updated successfully, but these errors were encountered:
I tried to add Webthings to an existing Arduino sketch that has a built in webserver (ESP32 network camera), and got a lot of this:
It's probably obvious that the WebThings library acts as a webserver, but I didn't expect it. I thought it would just generate json, which a webserver could then serve. Not complaining though.
The text was updated successfully, but these errors were encountered: