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
Unresolved dependencies - Include path settings
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Unresolved dependencies - Include path settings
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.
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.
Re: Unresolved dependencies - Include path settings
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.
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