Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fpermissive looping inside para,eters #39

Open
StefanoTesla opened this issue Jul 8, 2024 · 5 comments
Open

fpermissive looping inside para,eters #39

StefanoTesla opened this issue Jul 8, 2024 · 5 comments

Comments

@StefanoTesla
Copy link

I get this error:
error: invalid conversion from 'const AsyncWebParameter*' to 'AsyncWebParameter*' [-fpermissive]

In this line:
AsyncWebParameter* p = request->getParam(i);

What's the problem?? I never get it...just new pc installation...

@Pablo2048
Copy link

It's probably because of this https://github.com/mathieucarbou/ESPAsyncWebServer/releases/tag/v3.0.1 - just add const before AsyncWebParameter* p....

@StefanoTesla
Copy link
Author

ok but now:

Verbose mode can be enabled via -v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 (6.3.2) > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-h, olimex-jtag-tiny, tumpa)
PACKAGES:

  • framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
  • tool-esptoolpy @ 1.40501.0 (4.5.1)
  • toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
    LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 40 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- ESPAsyncWebServer-esphome @ 3.2.2
    |-- ESPAsyncWiFiManager @ 0.31.0
    |-- ElegantOTA @ 3.1.2
    |-- ArduinoJson @ 7.1.0
    |-- ESP32 Async UDP @ 2.0.0
    |-- HTTPClient @ 2.0.0
    |-- SPIFFS @ 2.0.0
    |-- ESP Async WebServer @ 3.0.6
    |-- WiFi @ 2.0.0
    Building in release mode
    Linking .pio\build\esp32doit-devkit-v1\firmware.elf
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_removeNotInterestingHeaders()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:155: multiple definition of AsyncWebServerRequest::_removeNotInterestingHeaders()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:181: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_onPoll()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:169: multiple definition of AsyncWebServerRequest::_onPoll()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:190: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_onAck(unsigned int, unsigned int)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:184: multiple definition of AsyncWebServerRequest::_onAck(unsigned int, unsigned int)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:197: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_onError(signed char)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:199: multiple definition of AsyncWebServerRequest::_onError(signed char)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:210: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_onTimeout(unsigned int)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:203: multiple definition of AsyncWebServerRequest::_onTimeout(unsigned int)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:214: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::onDisconnect(std::function<void ()>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:209: multiple definition of AsyncWebServerRequest::onDisconnect(std::function<void ()>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:220: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_onDisconnect()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:213: multiple definition of AsyncWebServerRequest::_onDisconnect()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:224: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_parseReqHeader()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:304: multiple definition of AsyncWebServerRequest::_parseReqHeader()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:312: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_handleUploadByte(unsigned char, bool)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:361: multiple definition of AsyncWebServerRequest::_handleUploadByte(unsigned char, bool)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:369: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::headers() const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:611: multiple definition of AsyncWebServerRequest::headers() const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:588: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::getHeader(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:652: multiple definition of AsyncWebServerRequest::getHeader(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:644: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::params() const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:658: multiple definition of AsyncWebServerRequest::params() const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:649: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::hasParam(String const&, bool, bool) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:662: multiple definition of AsyncWebServerRequest::hasParam(String const&, bool, bool) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:653: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::hasParam(__FlashStringHelper const*, bool, bool) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:671: multiple definition of AsyncWebServerRequest::hasParam(__FlashStringHelper const*, bool, bool) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:662: first defined herec:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::getParam(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:690: multiple definition of AsyncWebServerRequest::getParam(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:701: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginResponse(int, String const&, String const&)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:701: multiple definition of AsyncWebServerRequest::beginResponse(int, String const&, String const&)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:729: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginResponseStream(String const&, unsigned int)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:739: multiple definition of AsyncWebServerRequest::beginResponseStream(String const&, unsigned int)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:759: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::send(int, String const&, String const&)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:760: multiple definition of AsyncWebServerRequest::send(int, String const&, String const&)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:771: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::send(AsyncWebServerResponse*)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:743: multiple definition of AsyncWebServerRequest::send(AsyncWebServerResponse*)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:711: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::requestAuthentication(char const*, bool)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:838: multiple definition of AsyncWebServerRequest::requestAuthentication(char const*, bool)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:847: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::hasArg(char const*) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:855: multiple definition of AsyncWebServerRequest::hasArg(char const*) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:864: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::arg(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:885: multiple definition of AsyncWebServerRequest::arg(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:912: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::argName(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:889: multiple definition of AsyncWebServerRequest::argName(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:916: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::pathArg(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:893: multiple definition of AsyncWebServerRequest::pathArg(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:920: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::header(char const*) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:897: multiple definition of AsyncWebServerRequest::header(char const*) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:925: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::header(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:908: multiple definition of AsyncWebServerRequest::header(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:945: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::headerName(unsigned int) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:913: multiple definition of AsyncWebServerRequest::headerName(unsigned int) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:950: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::urlDecode(String const&) const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:918: multiple definition of AsyncWebServerRequest::urlDecode(String const&) const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:955: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::methodToString() const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:942: multiple definition of AsyncWebServerRequest::methodToString() const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:979: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::authenticate(char const*, char const*, char const*, bool)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:804: multiple definition of AsyncWebServerRequest::authenticate(char const*, char const*, char const*, bool)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:813: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::authenticate(char const*)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:816: multiple definition of AsyncWebServerRequest::authenticate(char const*)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:825: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::requestedConnTypeToString() const': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:962: multiple definition of AsyncWebServerRequest::requestedConnTypeToString() const'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:991: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::isExpectedRequestedConnType(RequestedConnectionType, RequestedConnectionType, RequestedConnectionType)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:1019: multiple definition of AsyncWebServerRequest::isExpectedRequestedConnType(RequestedConnectionType, RequestedConnectionType, RequestedConnectionType)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:1002: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginResponse(fs::FS&, String const&, String const&, bool, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:713: multiple definition of AsyncWebServerRequest::beginResponse(fs::FS&, String const&, String const&, bool, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:733: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginResponse(Stream&, String const&, unsigned int, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:725: multiple definition of AsyncWebServerRequest::beginResponse(Stream&, String const&, unsigned int, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:745: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::send(fs::FS&, String const&, String const&, bool, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:772: multiple definition of AsyncWebServerRequest::send(fs::FS&, String const&, String const&, bool, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:775: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::send(Stream&, String const&, unsigned int, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:786: multiple definition of AsyncWebServerRequest::send(Stream&, String const&, unsigned int, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:787: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginResponse(String const&, unsigned int, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:729: multiple definition of AsyncWebServerRequest::beginResponse(String const&, unsigned int, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:749: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginChunkedResponse(String const&, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:733: multiple definition of AsyncWebServerRequest::beginChunkedResponse(String const&, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:753: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::send(String const&, unsigned int, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:790: multiple definition of AsyncWebServerRequest::send(String const&, unsigned int, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:791: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::sendChunked(String const&, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:794: multiple definition of AsyncWebServerRequest::sendChunked(String const&, std::function<unsigned int (unsigned char*, unsigned int, unsigned int)>, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:795: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_addGetParams(String const&)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:225: multiple definition of AsyncWebServerRequest::_addGetParams(String const&)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:240: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_parseReqHead()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:241: multiple definition of AsyncWebServerRequest::_parseReqHead()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:254: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_parseLine()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:574: multiple definition of AsyncWebServerRequest::_parseLine()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:554: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_parsePlainPostChar(unsigned char)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:346: multiple definition of AsyncWebServerRequest::_parsePlainPostChar(unsigned char)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:354: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_parseMultipartPostByte(unsigned char, bool)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:386: multiple definition of AsyncWebServerRequest::_parseMultipartPostByte(unsigned char, bool)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:394: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_onData(void*, unsigned int)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:71: multiple definition of AsyncWebServerRequest::_onData(void*, unsigned int)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:101: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::_addPathParam(char const*)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:221: multiple definition of AsyncWebServerRequest::_addPathParam(char const*)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:236: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::beginResponse(fs::File, String const&, String const&, bool, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:719: multiple definition of AsyncWebServerRequest::beginResponse(fs::File, String const&, String const&, bool, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:739: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::send(fs::File, String const&, String const&, bool, std::function<String (String const&)>)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:779: multiple definition of AsyncWebServerRequest::send(fs::File, String const&, String const&, bool, std::function<String (String const&)>)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:781: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::AsyncWebServerRequest(AsyncWebServer*, AsyncClient*)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:37: multiple definition of AsyncWebServerRequest::AsyncWebServerRequest(AsyncWebServer*, AsyncClient*)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:35: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::AsyncWebServerRequest(AsyncWebServer*, AsyncClient*)': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:37: multiple definition of AsyncWebServerRequest::AsyncWebServerRequest(AsyncWebServer*, AsyncClient*)'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:35: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::~AsyncWebServerRequest()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:47: multiple definition of AsyncWebServerRequest::~AsyncWebServerRequest()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:80: first defined here
    c:/users/osse/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib11d\libESP Async WebServer.a(WebRequest.cpp.o): in function AsyncWebServerRequest::~AsyncWebServerRequest()': C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebRequest.cpp:47: multiple definition of AsyncWebServerRequest::~AsyncWebServerRequest()'; .pio\build\esp32doit-devkit-v1\libe97\libESPAsyncWebServer-esphome.a(WebRequest.cpp.o):C:\Users\Osse\Documents\GitHub\ascom-alpacha-switch-dome-board/.pio/libdeps/esp32doit-devkit-v1/ESPAsyncWebServer-esphome/src/WebRequest.cpp:80: first defined here
    collect2.exe: error: ld returned 1 exit status
    *** [.pio\build\esp32doit-devkit-v1\firmware.elf] Error 1`

Any advice? the repo is this one: https://github.com/StefanoTesla/Ascom-Alpacha-ESP32-Switch-Borad-Dome-Board

@StefanoTesla
Copy link
Author

I remove this library from platformio and it work....why? It come with esp32 base lib now?

lib_deps = 
	;esphome/ESPAsyncWebServer-esphome //no more required
	alanswx/ESPAsyncWiFiManager
	ayushsharma82/ElegantOTA
	bblanchon/ArduinoJson
build_flags=-DELEGANTOTA_USE_ASYNC_WEBSERVER=1

@Pablo2048
Copy link

It's obvious - it's because of this line
https://github.com/ayushsharma82/ElegantOTA/blob/adf776848827bf7ee61075e19dbbc486fdb87a75/library.json#L20

ElegantOTA specifies another ESPAsyncWebServer version (that is why i personally hate using dependencies in library.json).

@StefanoTesla
Copy link
Author

StefanoTesla commented Jul 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants