New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include Search Path not working for components in a project (IEP-214) #107
Comments
Thanks for the report. Let us look into it. |
Hi @bittailor I tried this example where it has components in the project and it seems to work fine for me. Could you check this for reference for defining CMakeList.txt and others https://github.com/espressif/esp-idf/tree/release/v4.0/examples/build_system/cmake/import_prebuilt |
Here is the another example which I created based on the scenario which you've explained but somehow I'm not able to reproduce the issue. |
Thanks for looking into this. Your hello_world.zip example works and finds the headers 🤔. I will try to find the difference to my project and also to create a small example project that tries to reproduce my issue. |
I was now able to create a small example that reproduces my issue and with this also found what the difference that creates the issue. It is a consequence that I nested projects inside a project. So I think from my point of view we can close this issue as it is a consequence of nesting my app projects inside my components project, which might not be intended and is simple to change/avoid. Here now the details to reproduce the issue if you are interested: You find the example project in the bittailor/IssueDemo-IdfEclipsePlugin-IEP-214 repository. When you import the project into eclipse please select the "Search for nested projects" and import all three projects. Now when you built all the three projects the "include issue" is present in the I think the issue is a consequence of the nested For the issue to be preset the
When I do move the
|
Describe the bug
The c++ indexer does not properly work for c/c++ files in a component in a project. I think the problem is the "Include Search Path" for the files in a component.
When I create a CDT parser log file (Project > C/C++ Index > Create Parser Log) for a file in a component the ESP-IDF paths are not present
When I create a CDT parser log file for a file in the main folder of a project the ESP-IDF paths are there:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
c++ indexer also works for the files in a component in a project.
Screenshots
Environment Information:
EnvironmentInformation.txt
ESP-IDF Tools Information:
IDF Eclipse Plugin Version:
Espressif IDF Plugins for Eclipse 1.1.1.202006040612 com.espressif.idf.feature.feature.group
The text was updated successfully, but these errors were encountered: