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
Hi, I have test library with ESP32S3 in VSC-platformio
When compile code following your instructions have "multiple definition of..."
this is just one of many
/home/forty76/.platformio/packages/[email protected]+20240530/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: .pio/build/esp32-s3-devkitc-1-n16r8v/lib95e/libESP Async WebServer.a(WebRequest.cpp.o): in function _ZN21AsyncWebServerRequest7_onPollEv': /home/forty76/Documenti/PlatformIO/ESP32/httpup_test/.pio/libdeps/esp32-s3-devkitc-1-n16r8v/ESP Async WebServer/src/WebRequest.cpp:190: multiple definition of _ZN21AsyncWebServerRequest7_onPollEv'; .pio/build/esp32-s3-devkitc-1-n16r8v/lib484/libESPAsyncWebServer.a(WebRequest.cpp.o):/home/forty76/Documenti/PlatformIO/ESP32/httpup_test/.pio/libdeps/esp32-s3-devkitc-1-n16r8v/ESPAsyncWebServer/src/WebRequest.cpp:173: first defined here
seems like The version of ESPAsyncWebServer-AsyncTCP that the library depended on was different from the version which you explicitly imported. it could be solved by matching the lib versions.
if there is a newer release of the dependencies, feel free to open a pull request and increase the dependency versions. I'll check it out.
Please follow the contribution steps in the readme, if you need to.
Hi, I have test library with ESP32S3 in VSC-platformio
When compile code following your instructions have "multiple definition of..."
this is just one of many
/home/forty76/.platformio/packages/[email protected]+20240530/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: .pio/build/esp32-s3-devkitc-1-n16r8v/lib95e/libESP Async WebServer.a(WebRequest.cpp.o): in function
_ZN21AsyncWebServerRequest7_onPollEv': /home/forty76/Documenti/PlatformIO/ESP32/httpup_test/.pio/libdeps/esp32-s3-devkitc-1-n16r8v/ESP Async WebServer/src/WebRequest.cpp:190: multiple definition of
_ZN21AsyncWebServerRequest7_onPollEv'; .pio/build/esp32-s3-devkitc-1-n16r8v/lib484/libESPAsyncWebServer.a(WebRequest.cpp.o):/home/forty76/Documenti/PlatformIO/ESP32/httpup_test/.pio/libdeps/esp32-s3-devkitc-1-n16r8v/ESPAsyncWebServer/src/WebRequest.cpp:173: first defined hereI configure platformio.ini
lib_deps =
https://github.com/mathieucarbou/AsyncTCP
;https://github.com/mathieucarbou/ESPAsyncWebServer <<----- conflict
https://github.com/forty76/myEspFileManager
https://github.com/IPdotSetAF/ESPAsyncHTTPUpdateServer <<<--- conflict
I solved it by change
https://github.com/me-no-dev/AsyncTCP
https://github.com/me-no-dev/ESPAsyncWebServer
Your library force download of ESPAsyncWebServer-AsyncTCP from https://github.com/me-no-dev
The text was updated successfully, but these errors were encountered: