Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32/vscode compilation error: user_interface.h: No such file or directory #32

Open
galle-led opened this issue Nov 27, 2024 · 3 comments

Comments

@galle-led
Copy link

Hi, I am trying to compile the example E131_Test sketch using VScode/Platformio, and am getting this error when compiling:

.pio/libdeps/esp32devE131/ESPAsyncUDP/src/AsyncUDP.cpp:5:10: fatal error: user_interface.h: No such file or directory

I bounced this error off of ChatGPT and it suggested that user_interface.h is specific to ESP8266 boards. I have added the ESPAsyncE131 successfully in Platformio, what else am I missing?

Thank you

@cap60552
Copy link

cap60552 commented Dec 9, 2024

Encountered the same problem tonight myself.

@cap60552
Copy link

I worked around it, It seems that Platform.io is incorrectly installing "ESPAsyncUDP" which only works on esp8266 boards. The AsyncUDP is included in the Arduino framework already for ESP32 platforms. I worked around it by deleting the ESPAsyncUDP folder from inside "libdeps\esp32dev".

@cap60552
Copy link

Looks like in library.json the dependencies -> platforms key is a string instead of an array. The documentation says it should be able to be either... however when I changed it to an array platform.io no longer tried to download the ESPAsyncUDP on the espressif32 platform.

{ "name": "ESPAsyncE131", "keywords": "dmx, e131, e1.31, sacn", "description": "Library for the asynchronous processing of sACN (E1.31 DMX over Ethernet) data.", "repository": { "type": "git", "url": "https://github.com/forkineye/ESPAsyncE131.git" }, "version": "1.0.5", "authors": { "name": "Shelby Merrick", "url": "http://forkineye.com", "maintainer": true }, "frameworks": "arduino", "platforms": ["espressif8266", "espressif32"], "headers": "ESPAsyncE131.h", "dependencies": { "name": "ESPAsyncUDP", "platforms": ["espressif8266"] } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants