forkineye / ESPAsyncE131

Asynchronous E1.31 (sACN) library for Arduino ESP8266 and ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

commented

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.

Right,
I installed the lib manually and had the same problem.
So I removed with the UI:
image
in installed tab: removed the redundant lib for udp, manually installed
and check it's there already in the "builtin" tab.
compile: ok