Unresolved dependencies - Include path settings

keflex87
Posts: 1
Joined: Fri Jul 02, 2021 11:50 am

Unresolved dependencies - Include path settings

Postby keflex87 » Fri Jul 02, 2021 12:04 pm

Hello,

i try to compile an example IDF project "Hello World" in Eclipse 2021-06 (4.20.0) with the IDF Eclipse Plugin Version: 2.1.2.202106231127. the build process returns some erros because some dependencies cannot be resolved. In the project settings i can't find any include path settings. Can anyone help me? :?

Screenshot see appendix.

Thank you
Andre

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Unresolved dependencies - Include path settings

Postby ESP_kondalkolipaka » Fri Jul 09, 2021 6:06 am

Hello,

Eclipse CDT Indexer for CMake works based on the compile_commands.json file generated in the build folder. If the compile_commands.json is correct, the indexer should ideally resolve all the headers. Please share an example with us to understand more about the resolved dependencies issues which you're facing.

"Include path settings" was part of the Make projects design not for CMake projects.

BrianP
Posts: 53
Joined: Mon Apr 13, 2020 1:48 pm

Re: Unresolved dependencies - Include path settings

Postby BrianP » Fri Jul 09, 2021 2:12 pm

This tends to happen if you change (or sometimes modify) the Run or Debug configuration. Somehow Eclipse ends up with a bad "index" in the build directory and it doesn't know it so re-indexing doesn't fix the issue.

Delete the build directory of the project and do a build all.

Who is online

Users browsing this forum: No registered users and 11 guests