Eclipse unresolved inclusion
Eclipse unresolved inclusion
I know this issue has been reported many times, but I still can't solve it.
Eclipse 2020-12
ESP-IDF v4.2
Espressif IDF 1.0.0.7f8U7ScLblnh87Z6aaB2Gpz036 plugin
Java JDK14
Windows 10
I tried with Eclipse 2020-09, 2019-09. Nothing works.
What can I do?
Eclipse 2020-12
ESP-IDF v4.2
Espressif IDF 1.0.0.7f8U7ScLblnh87Z6aaB2Gpz036 plugin
Java JDK14
Windows 10
I tried with Eclipse 2020-09, 2019-09. Nothing works.
What can I do?
- Attachments
-
- Sin título.jpg (300.84 KiB) Viewed 21800 times
Re: Eclipse unresolved inclusion
Hi,
After being able to build your project on Eclipse without any error, right click on your project then apply Index > Freshen All Files.
After being able to build your project on Eclipse without any error, right click on your project then apply Index > Freshen All Files.
Last edited by WardMas on Fri Aug 13, 2021 10:56 am, edited 1 time in total.
You can always visit my YouTube channel for embedded systems related tutorials
https://youtube.com/user/wardzx1
https://youtube.com/user/wardzx1
Re: Eclipse unresolved inclusion
Ok, nows working. Thanks a lot.
-
- Posts: 3
- Joined: Fri Aug 06, 2021 10:42 am
Re: Eclipse unresolved inclusion
I still have the same issue with the latest version of eclipse and idf. My project worked but all of a sudden I experience the unresolved inclusion issue. I tried everything suggested, clean project, index refresh all but nothing resolves this. What can I do further?
Re: Eclipse unresolved inclusion
Me too. I've spend days trying to get the IDF working on Windows and Ubuntu I'm sure there are some errors or more correctly ommisions form the information provided in the build and setup guides. However, I've got Eclipse sort of working but have these unresolved inclusion errors. The whole experince doesn't give me great confidence in the build.
Anyway what is the solution to getting these inclusion errors resolved? I can run a build that doesn't error but Eclipse is telling me the includes cant be found.
BTW I've tried setting the library paths, in C/C++ General but how deep down the tree should I be expected to go? (attached)
Pete
Anyway what is the solution to getting these inclusion errors resolved? I can run a build that doesn't error but Eclipse is telling me the includes cant be found.
- hello_world
- main
- hello_world_main.c (4 matches)
- Unresolved inclusion: esp_spi_flash.h
- Unresolved inclusion: esp_system.h
- Unresolved inclusion: freertos/FreeRTOS.h
- Unresolved inclusion: freertos/task.h
Pete
- Attachments
-
- Capture.JPG (81.74 KiB) Viewed 21044 times
Re: Eclipse unresolved inclusion
My eclipse will just suddenly do this out if the blue. Sometimes I need to do a freshen files and/or re-undez multiple times to clear it. Weird.
-
- Posts: 3
- Joined: Fri Aug 06, 2021 10:42 am
Re: Eclipse unresolved inclusion
I managed to resolve the inclusion issue by removing all the code that created errors. By having a successful compilation and refreshing the index files I then got rid of the inclusion errors. Subsequently i don't get errors if I add new code with errors. It remains a weird issue to me.
-
- Posts: 3
- Joined: Fri Aug 06, 2021 10:42 am
Re: Eclipse unresolved inclusion
I managed to resolve the inclusion issue by removing all the code that created errors. By having a successful compilation and refreshing the index files I then got rid of the inclusion errors. Subsequently i don't get errors if I add new code with errors. It remains a weird issue to me.
Re: Eclipse unresolved inclusion
It takes time for Eclipse to index all those files. Just leave it running for a couple of minutes and it will fix itself!
Who is online
Users browsing this forum: Bing [Bot], Gaston1980, Majestic-12 [Bot] and 393 guests