Eclipse CDT Invalid Project Path

后端 未结 9 2198
旧巷少年郎
旧巷少年郎 2020-12-04 23:53

I have a C project that is built using a makefile, Eclipse constantly warns about \"Invalid project path: Duplicate path entries\", but I cannot figure out what the hell it

相关标签:
9条回答
  • 2020-12-05 00:43

    Here I just found another way to re-detect the path automatically:

    1. Open "Workspace Settings-> C/C++ -> Build -> Settings -> Discovery"
    2. Find "CDT Build-in Compiler Settings [Shard]"
    3. Click "Clear Entries" and "Reset" button on the right
    4. Rebuild projects and Done

    Hope this will help.

    Reference: http://qing.blog.sina.com.cn/1802712302/6b7334ee33004def.html

    0 讨论(0)
  • 2020-12-05 00:47

    No needs to remove .metadata guys, just delete all path located in C/C++ General -> Paths and Symbols -> Symbols and replace them on using click buttom but don't give the path manually

    0 讨论(0)
  • 2020-12-05 00:53

    It seems like a bug in CDT.

    If you really want to get rid of it, you should try getting rid of the spaces in the project path; this was suggested in a search result for the error. If that doesn't work, you can try to open the .cproject file -it's where all the CDT settings lie- and check for an actual path with duplicate entries.

    0 讨论(0)
提交回复
热议问题