Errors exist in the required projects (IEP-668)
When try flash,
there appears:

this appears sometimes also after a 0 error, 0 warning build.
why ?
Hi @franz-ms-muc It seems to be the project is having errors, could you check the Problems view?
YES.
in the Problems view i see 18 "semantic" Errors.
but the Project build with 0 warnings /0 Errors ...
Ok, are they valid errors (semantic errors) which could be fixed or wrongly reported by the indexer? If it's wrongly reported by the indexer, we could investigate further.
Could you provide a sample piece code where it's showing "semantic" Errors? One such case was reported by here
I have the same issue. I've had to completely turn off Code Analysis to stop the message. I'm not sure it's the indexer itself though. For instance, if the UI shows an unresolved symbol error for a function and I ctrl-click on the function call, I do get taken right to the function declaration. Re-running the indexer usually does NOT change the errors reported but sometimes doing an explicit validation on a file does. Sometimes, closing and reopening the file or project also fixes things temporarily. The issues always come back though.
I'll get some logs and screenshots.
Hi @gtjoseph Thanks for reporting. Could you share with us the sample template where it's reporting unresolved symbol issues to look further on this?
I'll try and get something together today.
I started from scratch...
- New install of Eclipse 2021-09
- New install of idf-eclipse-plugin
- New workspace
- Create new Espressif IDF Project
- Selected template storage/sd_card/sdmmc
- Created target for esp32s3
- Opened main/sd_card_example_main.c for the first time...

A build hadn't been done yet so the missing includes are expected.
- Started a build which completed successfully.

The includes have all been found but there are still unresolved symbols.
- Start a flash

-
Pressed "Proceed" and the flash completed successfully.
-
Re-run the indexer

Everything except this one define is resolved.
- CTRL-click on SDMMC_SLOT_FLAG_INTERNAL_PULLUP

I get taken directly to the definition in sdmmc_host.h.
- Closed the project
- Did an idf fullclean from a shell
- Reopened the project and sd_card_example_main.c

Now there's a different set of errors.
This is only a small sample project. In my larger projects this is way more intrusive.
There are no errors in the Eclipse log BTW.
Hi @gtjoseph Thanks for the sharing. Let us look into the errors.
today for Example:
esp_pthread_get_default_config();
underlined red.
comment: Problem description: Invalid arguments ' Candidates are: {C:\Users\Franz\esp- idf-v4.4\components\pthread\include\esp_pthread.h:885} esp_pthread_get_default_config() '
First set project properties: C/C++ General->Indexer->Enable indexer is ticked. Then re-run the indexer by click menu Project->C/C++ Indexer->Freshen All Files, thus 'Semantic Error' disappeared.