|
|
|
|
|
|
|
|
|
|
Re: "could not be resolved" errors, but Go To Definition works! [message #1863100 is a reply to message #1862855] |
Tue, 16 January 2024 09:35 |
Majaswi Emmar Messages: 2 Registered: November 2023 |
Junior Member |
|
|
The problem stems from Eclipse not properly indexing the Makefile itself, which means it can't correctly resolve symbols that are defined in the Makefile.
To resolve this issue, you can try the following steps:
Rebuild the Index: Eclipse periodically rebuilds its index in the background. To force a rebuild, go to Project > Clean > Clean Project.
Incremental builds can help Eclipse keep the index up-to-date with changes made to the project. To enable incremental builds, go to Project > Properties > Build Automatically and check the Enable Incremental Build checkbox.
If the previous steps don't work, you can manually update the index for the Makefile file. Right-click on the Makefile file and select Refresh.
If none of the above steps work, you can try clearing the index and reindexing the project. To do this, go to Project > Clean > Clean Project and then select Clean index. This will remove the current index and force Eclipse to rebuild it from scratch.
After following these steps, the indexing issue should be resolved, and the "could not be resolved" errors should disappear.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05456 seconds