Page 1 of 1

Eclipse Unresolved Inclusion Error

Posted: Tue Aug 16, 2022 12:30 pm
by seanb_wr
Using IDF version 4.4.2

When I try to add a new C file to my project then it always gives me an "unresolved inclusion" problem for files such as <stdio.h>

This is despite another C file in the same directory/project having the exact same include paths and this file is OK.

I have tried all methods I can think of to add the file, refresh the indexing, reinstall the IDE/IDF, etc, etc but no matter what I do I get the unresolved inclusion error on the new file. The new file is accepted as part of the project and is compiled. But fails as it can't find the required header files.

Is there any way to get around this problem? I have seen some other posts with this issue such as topic

https://esp32.com/viewtopic.php?f=13&t=19731

Re: Eclipse Unresolved Inclusion Error

Posted: Wed Aug 17, 2022 3:09 pm
by gtjoseph
Stay tuned! I think I may have found the secret recipe for resolving the code analyzer issues. If it really works, I'll post it in the IDEs for ESP-IDF forum later today (UTC-6).

Re: Eclipse Unresolved Inclusion Error

Posted: Thu Aug 18, 2022 10:21 am
by gtjoseph
See if the tips I posted here work:
https://esp32.com/viewtopic.php?f=40&t=29344