-
Notifications
You must be signed in to change notification settings - Fork 127
Description
using the arduino tool im getting the following when trying to compile code
Arduino: 1.8.19 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 160 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:1MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino: In lambda function:
gbs-control:9545:59: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter p = request->getParam(0);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:9545:59: note: candidates are:
In file included from /home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:70:0:
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:403:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:405:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:416:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino: In lambda function:
gbs-control:9564:59: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter p = request->getParam(0);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:9564:59: note: candidates are:
In file included from /home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:70:0:
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:403:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:405:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:416:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino: In lambda function:
gbs-control:9626:67: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter slotParam = request->getParam(0);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:9626:67: note: candidates are:
In file included from /home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:70:0:
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:403:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:405:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:416:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino: In lambda function:
gbs-control:9673:72: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter slotIndexParam = request->getParam(0);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:9673:72: note: candidates are:
In file included from /home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:70:0:
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:403:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:405:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:416:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
gbs-control:9681:71: error: invalid conversion from 'const AsyncWebParameter*' to 'AsyncWebParameter*' [-fpermissive]
AsyncWebParameter slotNameParam = request->getParam(1);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino: In lambda function:
gbs-control:9711:51: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter p = request->getParam(0);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:9711:51: note: candidates are:
In file included from /home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:70:0:
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:403:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:405:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:416:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino: In lambda function:
gbs-control:9806:58: error: call of overloaded 'getParam(int)' is ambiguous
request->send(SPIFFS, request->getParam(0)->value(), String(), true);
^
/home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:9806:58: note: candidates are:
In file included from /home/sivesrutherfordd/Arduino/libraries/gbs-control/gbs-control.ino:70:0:
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:403:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:405:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
/home/sivesrutherfordd/Arduino/libraries/ESPAsyncWebServer-master/src/ESPAsyncWebServer.h:416:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
Multiple libraries were found for "SSD1306Wire.h"
Used: /home/sivesrutherfordd/Arduino/libraries/ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays
Not used: /home/sivesrutherfordd/Arduino/libraries/esp8266-oled-ssd1306-master
exit status 1
call of overloaded 'getParam(int)' is ambiguous
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.