build fail, cannot find "driver/gpio.h" (IDFGH-9411) (PACMAN-1086)
Answers checklist.
- [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- [X] I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
IDF5.0
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
build success.
What is the actual behavior?
fatal error: driver/gpio.h: No such file or directory
Steps to reproduce.
- Step idf.py command to create new project, and copy the gpio example code.
- Step build success, then i use the idf component manager to add led strip component, and build success also.
- Step then try to modify the component in "managed_components",add one line to test, just : "#define XXXX 1"
- Step then idf.py reconfigure fail for sure, then, using "mv" cmd to move the component to "components" dir in PROJECT DIR, so, build always erro now, and occurs this error.
Build or installation Logs.
No response
More Information.
No response
@edword01
then try to modify the component in "managed_components",add one line to test, just : "#define XXXX 1"
Could you post an error log due to the one line change? Doesn't seem right how adding an extra #define will cause a fatal error: driver/gpio.h: No such file or directory error.
i delete that define, still the same error.
---Original--- From: @.> Date: Thu, Feb 16, 2023 21:09 PM To: @.>; Cc: @.@.>; Subject: Re: [espressif/esp-idf] build fail, cannot find "driver/gpio.h"(IDFGH-9411) (Issue espressif/idf-component-manager#85)
@edword01
then try to modify the component in "managed_components",add one line to test, just : "#define XXXX 1"
Could you post an error log due to the one line change? Doesn't seem right how adding an extra #define will cause a fatal error: driver/gpio.h: No such file or directory error.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Hi @edword01
Could you check if the issue still persists? Alternatively, could you share the projects you're building so I can try reproducing it locally?
Since there was no response from the user - closing this issue. If the issue persists please reopen this or create a new issue.
Cheers!