Hi,
this problem appeared again after a year of not appearing.
I used ESP-IDF 4.2 and 4.0 with no problems. I briefly had the problem then, but I don't remember which of the fixes I applied then solved it.
When I updated to 4.4.1 (cloned with git, then changed the path in Install Tools), the project compiles with no errors, but in the Problems view I get 100s of "Unresolved inclusions" errors.
Needless to say - extremely annoying.
I tried many fixes from the forum with no effect.
Any help?
This is my Environment setup:
And yet again - "Unresolved inclusions" in Eclipse
-
- Posts: 16
- Joined: Wed May 05, 2021 11:00 am
And yet again - "Unresolved inclusions" in Eclipse
- Attachments
-
- envir.PNG (72.49 KiB) Viewed 5185 times
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: And yet again - "Unresolved inclusions" in Eclipse
Hello,
The preference screenshot you have attached clearly shows that something went wrong while Installing tools after switching to the IDF version.
Could you run the following and share the logs?
1. Please make sure if you have the latest version of the IDF Eclipse plugin (v2.6.0) https://github.com/espressif/idf-eclips ... tag/v2.6.0
2. It's advised to run the Install Tools action from eclipse after switching to IDF version
Espressif > ESP-IDF Tools Manager > Install Tools
Please check the console for errors if any
2. It's advised to run Python clean after switching the IDF version
Right-click on the project > ESP-IDF: Python Clean
3. Now build the project and see if that helps
Please share the error log to check the reported errors
https://github.com/espressif/idf-eclips ... #error-log
Thanks
The preference screenshot you have attached clearly shows that something went wrong while Installing tools after switching to the IDF version.
Could you run the following and share the logs?
1. Please make sure if you have the latest version of the IDF Eclipse plugin (v2.6.0) https://github.com/espressif/idf-eclips ... tag/v2.6.0
2. It's advised to run the Install Tools action from eclipse after switching to IDF version
Espressif > ESP-IDF Tools Manager > Install Tools
Please check the console for errors if any
2. It's advised to run Python clean after switching the IDF version
Right-click on the project > ESP-IDF: Python Clean
3. Now build the project and see if that helps
Please share the error log to check the reported errors
https://github.com/espressif/idf-eclips ... #error-log
Thanks
-
- Posts: 16
- Joined: Wed May 05, 2021 11:00 am
Re: And yet again - "Unresolved inclusions" in Eclipse
Thanks for the reply.
I'm not using neither the latest version of the plugin, nor of Eclipse. So for now I installed the latest Espressif IDE on a different machine and it seems to work (for now).
I'll go back to this problem when I have more time.
I'm not using neither the latest version of the plugin, nor of Eclipse. So for now I installed the latest Espressif IDE on a different machine and it seems to work (for now).
I'll go back to this problem when I have more time.
Re: And yet again - "Unresolved inclusions" in Eclipse
If things go wrong again, try the tips I outlined here...
https://esp32.com/viewtopic.php?f=40&t= ... 230d6bae74
https://esp32.com/viewtopic.php?f=40&t= ... 230d6bae74
-
- Posts: 16
- Joined: Wed May 05, 2021 11:00 am
Re: And yet again - "Unresolved inclusions" in Eclipse
ESP_kondalkolipaka wrote: Hello,
The preference screenshot you have attached clearly shows that something went wrong while Installing tools after switching to the IDF version.
Could you run the following and share the logs?
1. Please make sure if you have the latest version of the IDF Eclipse plugin (v2.6.0) https://github.com/espressif/idf-eclips ... tag/v2.6.0
2. It's advised to run the Install Tools action from eclipse after switching to IDF version
Espressif > ESP-IDF Tools Manager > Install Tools
Please check the console for errors if any
2. It's advised to run Python clean after switching the IDF version
Right-click on the project > ESP-IDF: Python Clean
3. Now build the project and see if that helps
Please share the error log to check the reported errors
https://github.com/espressif/idf-eclips ... #error-log
Thanks
It happened again, on the brand new installation of Espressif IDE, latest version of plugin and ESP-IDF 4.4.1.
Project builds and runs fine, but I get loads of false errors in 3 source files, if I open them.
- I ran Install Tools after switching the IDF version.
- I ran Python clean on the project.
- I built the project several times.
Here is the log file (right click -> Export Log). I don't see any info in it about "unresolved inclusions" however.
@gtjoseph:
Thanks, but changing all .h files to .hpp really isn't a viable solution to me, because other people work on this project too. Also I have all the latest tools installed (except IDF) on a new machine, and the problem still appearrs.
- Attachments
-
- new_log.log
- (903 Bytes) Downloaded 439 times
Re: And yet again - "Unresolved inclusions" in Eclipse
Try without changing the file names. You may find that one of the steps helps.freeride01 wrote: ↑Thu Aug 25, 2022 8:21 am@gtjoseph:
Thanks, but changing all .h files to .hpp really isn't a viable solution to me, because other people work on this project too. Also I have all the latest tools installed (except IDF) on a new machine, and the problem still appearrs.
Who is online
Users browsing this forum: No registered users and 19 guests