user_interface.h not found when building for Esp32 on platformio
Munger opened this issue · comments
When building on VSCode I get the error:
.pio\libdeps\FastLEDVirtual_5-Pin\ESPAsyncUDP\src\AsyncUDP.cpp:5:28: fatal error: user_interface.h: No such file or directory
Any suggestions?
False alarm. PlatformIO pulled in the ESP8266 ESPAsyncUDP library as a dependency instead of using the one built in.
@Munger How were you able to get PlatformIO to pull the correct dependency? I'm having this issue on my laptop but not on my desktop and I'm not sure how to resolve it. Thanks.
I don’t really remember, but I probably uninstalled the ESP8266 libraries.
Just because I ran in to the same problem here is my fix:
In ESPAsyncE131/library.json (located under libdeps/) I removed the whole dependencies-Part.
I also had to remove the ESPAsyncUDP-Folder, that already got downloaded (?) there.