eclipse CDT 相关设置
2016-08-26 16:29
429 查看
1、eclipse CDT 支持C++11 设置
右击项目-> properties , 如图
2、解决 unresolved inclusion 问题 (系统头件找不到,比如:iostream)
右击项目 > Properties > C/C++ General > Preprocessor Includes... > Providers
and select "CDT GCC Built-in Compiler Settings".
注意:一定要勾选上 “Use global provider shared between projects”
3、加入第三方 include 头文件
右击项目 > Properties > C/C++ General > Preprocessor Includes... > Entries ...>GNU C++ .....>
CDT User Setting Entries ...>
点击 Add 按钮,添加第三方头文件路径
4、解决
symbol cout could not be resolved
如何在保证,所有头文件都正确导入的情况下:
右击项目 ....> index ....> 选择 rebuild
Project > Properties > Settings > Binary Parsers > "GNU Elf Parser"
helped in my case. I had the "Elf Parser" checked.
5、解决__cplusplus < 201103L 问题,以支持C++11
Project->Properties->C++ General->Pahts and Symbols->Symbols(选项卡)
增加__cplusplus Symbol然后设置值为201103L
注意:cplusplus前面是双下划线
右击项目-> properties , 如图
2、解决 unresolved inclusion 问题 (系统头件找不到,比如:iostream)
右击项目 > Properties > C/C++ General > Preprocessor Includes... > Providers
and select "CDT GCC Built-in Compiler Settings".
注意:一定要勾选上 “Use global provider shared between projects”
3、加入第三方 include 头文件
右击项目 > Properties > C/C++ General > Preprocessor Includes... > Entries ...>GNU C++ .....>
CDT User Setting Entries ...>
点击 Add 按钮,添加第三方头文件路径
4、解决
symbol cout could not be resolved
如何在保证,所有头文件都正确导入的情况下:
右击项目 ....> index ....> 选择 rebuild
Project > Properties > Settings > Binary Parsers > "GNU Elf Parser"
helped in my case. I had the "Elf Parser" checked.
5、解决__cplusplus < 201103L 问题,以支持C++11
Project->Properties->C++ General->Pahts and Symbols->Symbols(选项卡)
增加__cplusplus Symbol然后设置值为201103L
注意:cplusplus前面是双下划线
相关文章推荐
- Zend studio for eclipse中使php可以调用mysql相关函数的设置方法
- 集成QtCreator与Eclipse CDT,及相关问题的解决
- eclipse 相关设置和键
- Eclipse CDT标准库头文件设置
- eclipse cdt 优化设置
- 启动Eclipse、Tomcat时,设置相关环境变量的批处理脚本
- Eclipse cdt 设置条件断点
- ubuntu环境下,eclipse CDT链接库设置
- eclipse cdt编程环境设置
- Eclipse CDT 调试C/C++程序设置
- 各类Java heap space 解决方法,并通过java代码获取JVM的相关信息,所在操作系统的信息(包含eclipse&amp;myeclipse的调试的内存设置)
- 使用Eclipse CDT插件开发C/C++时设置保存时编译文件
- eclipse CDT下链接库的设置
- Eclipse CDT标准库头文件设置
- Eclipse+CDT+Cygwin进行C/C++开发include设置
- Zend studio for eclipse中使php可以调用mysql相关函数的设置方法
- Eclipse中安装设置CDT
- eclipse cdt代码悬停窗口背景颜色设置(转载)
- Win XP / Win 7上配置eclipse+CDT+MinGW,和相关问题的解决办法
- eclipse的相关设置