You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
[Master: /examples/peripherals/i2s/] Example "i2s_recorder" will not compile
[Master: /examples/peripherals/i2s/] Example "i2s_recorder" will not compile (IDFGH-8926)
Dec 10, 2022
That example relies on a header file which is located here. Maybe you copied the example to a new place, so the compiler can't find that header file by the relative path.
For now, you can update your example's main CMakeLists.txt file by using absolute path, e.g.:
Hi @suda-morris
Thanks for your help, absolute path you've proposed works perfectly in this case 👍
Additional info: I am using Eclipse and keeping this updated with the latest version of everything. I am creating the project using the recommended method: File > New > New IDF Project > Create Project Using one of the Template.
Is it fair to assume that this "compiler can't find that header file by the relative path" issue may be related to the Eclipse Plugin rather? If you suspect so please let me know I'll close this one and pass this over to the Eclipse Plugin repo for them to investigate.
Answers checklist.
General issue report
in "esp-idf/examples/peripherals/i2s/i2s_recorder/main/CMakeLists.txt"
Cannot find: INCLUDE_DIRS "../../common"
The text was updated successfully, but these errors were encountered: