eclipse CDT 8.01 - default paths (libstdc,libstdc++) totally disappeared in 'includes' directory

99封情书 提交于 2019-12-11 11:14:37

问题


I tried to remove all the files and temporal files in ~/.eclipse and re-install eclipse+cdt. But those default paths did not appear again.

I went to the 'c/c++ general'->'paths and symbols' and hoped to check the 'show build-in values' to recover these paths, but it also did not work.

This is very annoying since I need to manually add those paths every time when creating a new c/c++ projection to prevent the indexer from reporting parsing errors even when calling some standard functions, though it actually does not cause compile problem.

Can any one tell me how to let CDT automatically find these default paths. Thanks!

I'm using

 kubuntu 11.10
 Indigo+cdt8.01
 g++ 4.6.1

回答1:


Have you cleaned up your workspace and created a completely new project?



来源:https://stackoverflow.com/questions/8291993/eclipse-cdt-8-01-default-paths-libstdc-libstdc-totally-disappeared-in-inc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!