CDT: Empty paths in "Includes" entry within "Project Explorer" view [message #1752156] |
Thu, 19 January 2017 04:55  |
Eclipse User |
|
|
|

Hello. First off, let me define the context.
I'm using Eclipse IDE for C/C++ Developers, Neon version (4.6.0) having build id: 20160613-1800. CDT version is the latest @ this moment - 9.2.0 (9.2.0.201612061315) - note that I've actually updated to that from 9.0.1 (9.0.1.201607151550) in hope that the below described issue has been resolved, but it still manifests.
Now for the details of the problem.
I'm having a C/C++ project for which I'm adding include paths (for the indexer to 'see') under C/C++ General ->Paths and Symbols -> Includes tab. Opening the Project Explorer view I can see those were added by looking under the "Includes" entry under my project - BUT they appear empty - cannot be expanded as if they contained no header files (*.h). More over, the actual problem is that the indexer behaves in the same manner, as if those files don't exist.
Note that this manifests for all projects. but for a few specific directories on my PC the files are correctly listed. Those directories are those of my installed stm32 toolchain, e.g. this one works: "C:\STM32Toolchain\gnu-arm\5.4-2016q2\arm-none-eabi\include".
Note also that I remember having had this problem a while ago, but I think I solved it with a few Eclipse restarts, so I didn't bother trying to figure out what was happening. Now it seems it's constantly there no matter what I do.
And finally, for what I've tried.
Tried rebuilding the index, manually deleting all *.pdom files within the .metadata folder, manually deleting all files that reference my include paths inside the .metadata folder, manually deleting workspace.xmi.
Tried moving the includes setting to Preprocessor Include Paths -> GNU {C,C++} -> CDT User Setting Entries.
Tried deleting all include paths and adding just one which I've relocated in different places of my HDD (even on other drives).
Has anyone else encountered this issue?
I've attached a screenshot of the Project Explorer view.
Thank you,
Corneliu.
[Updated on: Thu, 19 January 2017 14:14] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05684 seconds