您当前的位置: 首页 >  eclipse

ECLIPSE明明能跳到头文件,却提示Unresolved Inclusion,怎么办?

柳鲲鹏 发布时间:2019-03-04 14:26:05 ,浏览量:0

  试了几个办法,终于成功了。也不知道哪个有用。先记录一下:

  • 增加include

参考《Eclipse/NSight解决办法:unsolved inclusion stdio.h/map/string/queue/list》

  • 方法1

先选中项目名,在选择菜单:Project > Properties > C/C++ General > Preprocessor Includes… > Providers 并将 “CDT GCC Built-in Compiler Settings”打钩,再点击apply按钮即可解决。

  • 方法2

Window > Preferences > C/C++ > Indexer

把其中增加索引的都选上。

然后通过Project->C/C++ Indexer折腾一番。

 

关注
打赏
1688896170
查看更多评论

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4641博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.4445s