-
Notifications
You must be signed in to change notification settings - Fork 118
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
Unresolved inclusion: <xxx.h> (IEP-109) #31
Comments
Make sure you select/configure "Launch Target" before triggering the build. Check here https://github.com/espressif/idf-eclipse-plugin#ConfigureLaunchTarget This will take care of "unresolved references" esp-idf-tools-setup-2.1.exe is not required while working with idf-eclipse-plugin. Required tools can be installed using the "Install Tools" option from eclipse. |
Check this #34 to add the external libs to the project |
I have this same issue, configuring launch target has no effect at all to unresolved includes. |
+1 for @markku63 's comment. I have two 'hello_world' projects and one of them is open in the editor. I can see that the error flag goes away on the project that is not open. If I open it it will reappear immediately. |
I can confirm the issue. I have tried a fresh eclipse installation with the latest plugin and cannot get the includes to be resovled. Plugin Version
CDT Version
|
Thanks @kolipakakondal , This step resolved my inclusion issue. |
same issue here, tryed nearly everthing but no success |
Is the unresolved inclusion issue with the 3rd-party libs or even for the hello-world project? |
Happens even for hello-world or blink. |
I can confirm this. Happens for all Projects. Seams like the Eclipse indexer doesn't get the Paths from the CMake *.txt files. If I add in absolute paths as #include everthing works just fine. Any suggestions how to solve this? If needed I can add the Indexer logfile. |
What is different for me: the issue is related to the esp and freeRTOS includes. The std includes are found. |
the problem still persists for beta 4 and beta 3. |
Here is the local build with the fix for "unresolved inclusion" issue in Windows OS, could you guys check and provide the feedback Here is the build zip file to download Installation instructions: |
Hi All, IDF Eclipse Plugin v1.0.0-beta5 (Build: 1.0.0.202002120536) is published to the update site. Please get the latest https://dl.espressif.com/dl/idf-eclipse-plugin/updates/latest/ |
This should not be closed. As of now, 3/25/2022 this is still an issue. I'm using Eclipse version 2021-12 (4.22.0) and ESP-IDF plugin version 2.4.2.202007271621. It behaves erratically. Sometimes almost all of the errors will go away. And then sometimes it flags many of my standard and local includes. It seems to have a mind of its own. I've tried doing clean, fullclean, re-indexing, and every possible C/C++ Indexer option in the Eclipse menu. When it gets bad I need to go back over to use Visual Studio Code with it's ESP-IDF plug-in. |
Hi @edevald Could you please share the IDE Product Information? I tried to reproduce the issue with the below environment and couldn't see any errors after the build with a blink example.
![]() |
Note: ESP-IDF 5.0 and higher + Espressif-IDE is having some unresolved symbol issues If you're working with ESP-IDF 5.0 and higher with Espressif-IDE, you might encounter unresolved symbol issues with certain projects, considering ESP-IDF 5.0 and higher is using some of the C/C++ 20 language features which are not yet supported by tine Eclipse CDT Indexer. These are only indexer problems it shouldn't cause any build failures. To disable them temporarily, Please refer to this doc. |
@kolipakakondal thank you for the heads-up! Much appreciated. I am currently using ESP-IDF 5.0, but I have having Eclipse CDT indexer issues for quite some time, since I started using Eclipse with ESP-IDF. I don't recall the first version of ESP-IDF I used with Eclipse, perhaps 4.3. |
Most of the issues were reported earlier with ESP-IDF 4.x and IDE were fixed. We started surfacing new issues with 5.x |
Hi @AndriiFilippov I would like to request your help in summarizing the Indexer issues on various platforms. This will help us to prioritize our work internally and ensure that we are addressing the most important issues first. You can follow the below format.
|
I installed “esp-idf-tools-setup-2.1.exe" "eclipse CDT" "IDF Plugins" according to the steps, and after completion, the Unresolved inclusion appeared: < XXX. H >
![0FS { _5OCRQU82 7~IVB{O](https://user-images.githubusercontent.com/51319893/68911730-ebbdf000-0790-11ea-9feb-51db848dd44b.png)
The text was updated successfully, but these errors were encountered: