Open SkyeLowry opened 3 months ago
I ran into the same issue today (2024.8.0). It compiles correctly for me if I remove the captive_portal component.
Not ideal for my case as the board I'm working on needs to be reassembled deep into the device it came from, so if something happens it will be harder to troubleshoot. But at least it builds that way.
The problem
When trying to compile a Generic - RTL8720CF (2M/992k) board with the default yaml from the UI I get the following error when trying to build: /data/cache/platformio/packages/library-lwip/src/include/lwip/sys.h:447:7: error: conflicting declaration of 'u32_t sys_now()' with 'C' linkage 447 | u32_t sys_now(void); | ^
~~ In file included from /data/cache/platformio/packages/library-lwip/src/include/lwip/opt.h:51, from /data/cache/platformio/packages/library-lwip/src/include/lwip/ip_addr.h:40, from .piolibdeps/test-config/AsyncTCP-esphome/src/AsyncTCP.h:28, from .piolibdeps/test-config/AsyncTCP-esphome/src/AsyncTCP.cpp:24: /data/cache/platformio/platforms/libretiny/cores/realtek-ambz2/base/config/lwipopts.h:10:22: note: previous declaration with 'C++' linkage 10 | extern unsigned long sys_now(void); | ^~~ *** [.pioenvs/test-config/lib45a/AsyncTCP-esphome/AsyncTCP.cpp.o] Error 1 ========================= [FAILED] Took 13.79 seconds =========================Which version of ESPHome has the issue?
2024.7.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.7.4
What platform are you using?
RTL87XX
Board
Generic - RTL8720CF (2M/992k)
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response