Eclipse Unresolved Inclusion Error

seanb_wr
Posts: 1
Joined: Tue Aug 16, 2022 12:11 pm

Eclipse Unresolved Inclusion Error

Postby seanb_wr » Tue Aug 16, 2022 12:30 pm

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

User avatar
gtjoseph
Posts: 81
Joined: Fri Oct 15, 2021 10:55 pm

Re: Eclipse Unresolved Inclusion Error

Postby gtjoseph » Wed Aug 17, 2022 3:09 pm

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

User avatar
gtjoseph
Posts: 81
Joined: Fri Oct 15, 2021 10:55 pm

Re: Eclipse Unresolved Inclusion Error

Postby gtjoseph » Thu Aug 18, 2022 10:21 am

See if the tips I posted here work:
https://esp32.com/viewtopic.php?f=40&t=29344

Who is online

Users browsing this forum: awegel, FrankJensen, StanInexeon, zelenecul and 135 guests