forkineye / ESPAsyncE131

Asynchronous E1.31 (sACN) library for Arduino ESP8266 and ESP32
129 stars 28 forks source link

user_interface.h not found when building for Esp32 on platformio #14

Closed Munger closed 3 years ago

Munger commented 3 years ago

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?

Munger commented 3 years ago

False alarm. PlatformIO pulled in the ESP8266 ESPAsyncUDP library as a dependency instead of using the one built in.

jxsavage commented 3 years ago

@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.

Munger commented 3 years ago

I don’t really remember, but I probably uninstalled the ESP8266 libraries.

hansimglueck commented 3 years ago

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.

laurent-martin commented 1 year ago

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