-
Notifications
You must be signed in to change notification settings - Fork 121
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
still unresolved includes using latest idf-eclipse-plugin (IEP-99) #43
Comments
OK! I found a work around. |
I tried that and can confirm that 19-09 and beta 3 let the warnings disappear. |
This pesky issue finds it's way back over and over again, and that is really annoying. To verify it I have just made fresh installation of the plugin Beta 4 with Eclipse 2019-12 on Windows 10 and Linux Ubuntu 18.04. The issue shows up for me on Windows only. I made the requisite Configuring Launch target. I believe that #29 and #31 are reported for Windows as well. Do other of you see the same? Or maybe some of you do not see it on Windows at all (for the latest Beta 4 with Eclipse 2019-12)? Hopefully we can narrow down the scope of troubleshooting. |
Can confirm this for windows and 2019-12 and current idf plugin. Is there a way to test it with beta 3? I don't know how to get it. Are there any suggested solutions? |
I can conference this for Windows and Eclipse 2019-19 with esp-idf 4. No Problem on Ubuntu in Virtual Box with Same install Procedere. I already made a reinstall. |
Anyone up for the short call(15mins)? We can use the https://zoom.us/ for screen sharing. Let me know the timezone if anyone is interested to join the call. |
Yes, i like to Support you, but My Englisch is Not Good. My timezone is gmt+1 Germany Near Stuttgart. |
@infoschwab this is so funny because I'm located near stuttgart too. I got it working with vscode. Here I'm pretty shure we're on the right track. It has to do with the indexer not finding the right path. So I expect exactly the same problem you do. |
Yes, i do think, there must be a way to tell the indexer the path for the Librarys. I found a lot of tutorials to set the path, but in My Eclipse i dont find the menueentry. There Must be a way to do this but i am Not firm with Eclipse. Perhaps i change to vscode. |
I am doing basic tests with both eclipse and vscode at the moment. Both of them doesn't work properly in my opinion. There are still a lot of issues. I think we cannot see these menus in eclipse because the example projects are cmake projects but I'm not 100% shure about that fact. |
I stated in a previous post, that meanwhile I am quite happy with this toolchain.
Yes, there are some annoying flaws, but since I am used to the toolchain and the way how to handle it, the "unresolved inclusion" issue became relatively rare and can mostly be solved by reindexing.
Looking back to my initial problems I would like to say, they were derived form jumping between projects, not understanding how to handle run/Debug configurations etc. or changing between run and Debug configurations. Unfortunately I can still not find a reproducable way to cause the "Unresolved Inclusion" issue.
I am currently suffering more from "Permission Error" but for this issue I found as well a workaround to live with it.
BTW, I live near Mannheim :-)
…-----Ursprüngliche Nachricht-----
Von: su-Koch <notifications@github.com>
Gesendet: Fre 24 Januar 2020 21:03
An: espressif/idf-eclipse-plugin <idf-eclipse-plugin@noreply.github.com>
CC: HarryHpd <hpd_as@scill.org>; Author <author@noreply.github.com>
Betreff: Re: [espressif/idf-eclipse-plugin] still unresolved includes using latest idf-eclipse-plugin (IEP-99) (#43)
I am doing basic tests with both eclipse and vscode at the moment. Both of them doesn't work properly in my opinion. There are still a lot of issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
That's cool that you guys are from Germany :-) I was in Stuttgart in Oct for EclipseCon2019 and we presented this esp-idf eclipse plugin. Check this https://youtu.be/DqnZy4d03_s . It might be interesting to see an end-to-end flow For guys, who could help me in understanding the issue, please use my skype name: kondal.kolipaka@gmail.com. I'll be available from CET 10AM to 12PM |
@kolipakakondal indeed https://youtu.be/DqnZy4d03_s from EclipseCon2019 attracted me to check the plugin! Regarding the issue with unresolved includes on Windows, what diagnostic information or configuration details do you need? I would prepare it upfront. |
@krzychb Probably a couple of things:
Check these:
|
@kolipakakondal please see below requested diagnostic information: Logs
Checked
|
@kolipakakondal attached is another copy of |
Thanks @krzychb for providing the detailed info and joining the call. It seems to be headers indexing is not happening in Windows OS and I'm able to reproduce the issue. I'll update here once the fix is ready! |
@kondal
as already said I had no "unresolved inclusion issues" in my windows setup for a long time.
But recently, after changing from Run to Debug configuration I got again "unresolved inclusion" for all Includes in component directory.
I saw something like "invalid Build configuration" in console too.
Reindexing and rebuild after clean did not help. After restarting eclipse and disconnecting my WROVER Kit I could build and the issue disappeared.
…-----Ursprüngliche Nachricht-----
Von: Kondal Kolipaka <notifications@github.com>
Gesendet: Die 28 Januar 2020 06:17
An: espressif/idf-eclipse-plugin <idf-eclipse-plugin@noreply.github.com>
CC: HarryHpd <hpd_as@scill.org>; Author <author@noreply.github.com>
Betreff: Re: [espressif/idf-eclipse-plugin] still unresolved includes using latest idf-eclipse-plugin (IEP-99) (#43)
Thanks @krzychb for providing the detailed info and joining the call. It seems to be headers indexing is not happening in Windows OS and I'm able to reproduce the issue. I'll update here once the fix is ready!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
You migth want to get rid of the "Windows" label since I have the same problem on Ubuntu 18.04 but only a bit more complicated. On the main page, "main.c", no problem but when I create a new file or import a class. Then I get the unresolvel inclusion issues even if the compiler report 0 errors. There is also that problem with one of my cpp lib that I don't understand. Here is a link to a screenshot of my Eclipse showing the problem. My Unbuntu is install on a VMWare virtual machine so if you want I can send it to you. It takes around 15-20 go. If you want me to create a new issue, tell me. I will do my best. 2 weeks ago I new nothing about all this. |
@Arag0to from the screenshot (of your Eclipse showing the problem) it looks like the launch target is not selected. Could you try selecting the target, cleaning and rebuilding the project? |
Thank you @krzychb, happy to know it wasn't a big problem. But i still got the cpp library not recognize in the main.c. I would like to know why. Tryed to include with the same problem, If you know the answer please tell me but I don't think this problem belongs to this issue. I would also like to understand why the target matter ? From what I understand, the target specifies on which port flashing the Esp32 but it worked and I have 0 port connected on my machine right now. |
Could you guys check this build and provide the feedback. This should fix an issue related to "unresolved inclusion" errors in Windows OS Here is the zip file to download Installation instructions: |
@kolipakakondal the new build works great! Thank you for resolving this issue 👍 |
I can also confirm that the issue seams to be solved. Thanks a lot. Is there a function to flash without building ? |
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/ |
..Yes, I am working with your fix since some time now and it appears to work as expected.
@kondal . Thanks for your help.
|
@kondal. Unfortunately "unresolved inludes" issue came back today.
I can not give you more details than the fact itself .
I upgraded meanwile to the latest Plugin offered by eclipse update check.
Reindexing does not help. deleting build directory sometimes helps, but the error comes back after a short while.
But I can remember one thing. Last time the problem appeared just after fireing the debugging launch configuration for my wrover kit.
|
I have just installed plugin. Still I am getting same issue. And when I clean the project I will get the below error : I have also tried to download and updating archive. But as I have already installed latest plugin, archive is not installed. Thanks |
hei niruhegde, |
The problem still remains in Mac OS. After copying example project "blink", firstly no errors are shown and the build also works without errors. But after restarting eclipse, the editor shows the errors as in the screenshot of JAICHANGPARK commented 16 days ago. And while trying to build the project, there happens also a Java-Error:
|
Hi! The same issue. Windows10/Version: 2019-12 (4.14.0)/Build id: 20191212-1212/ Espressif IDF Plugins for Eclipse 1.0.0.202002201116.
Updated:
|
If warnings doesn't resolve even after building the code, open terminal in that project and run idf.py fullclean. Somehow clean in eclipse is not cleaning, it builds the code again. |
Hi @Just-Eugene - Paths and Symbols got removed with the latest Eclipse CDT. You can follow the below instructions to link esp-idf to the project so that function definitions will be linked. I hope that helps. |
Thank you! |
I had this problem as well with fresh install Eclipse 2020-06 (4.16..0) and ESP_IDF Eclipse Plugin 1.1.1, after creating a new ESP_IDF project with the default template. Resolved after Project > Build Project There were also symbol errors in the editor, such as "NULL". Resolved this by: Project > Properties > C++ General > C++ Indexer |
I just added the set(INCLUDE_DIRS ".") in the CMakeList.txt and the warnings are disappeared |
after building and flashing successfully the blink template I see still unresolved inclusions in my source file.
eclipse project has been created via https://github.com/espressif/idf-eclipse-plugin#create-a-new-project-using-esp-idf-templates
I use "latest" espressif plugin (see attached file)
I expect inclusions to be resolved after building for target
Environment Information:
eclipse info.log
ESP-IDF Tools Information:
Executing C:\Users\hpd\AppData\Local\Programs\Python\Python37\python.exe C:\Users\hpd\Documents\HPDPool\Privat\HpdDev2020\ESP32\ESPV4\tools\idf_tools.py list
The text was updated successfully, but these errors were encountered: