找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 20508|回复: 1
收起左侧

解决#error This file requires compiler and library support for the ISO C++ 2...

[复制链接]
ID:51024 发表于 2014-7-30 14:08 | 显示全部楼层 |阅读模式
#error  This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

解决方法:

在工程文件.pro中添加:

QMAKE_CXXFLAGS+=-std=c++0x

或者

QMAKE_CXXFLAGS += -std=gnu++11


回复

使用道具 举报

ID:818777 发表于 2020-9-14 11:04 | 显示全部楼层
姐姐,windows下怎么解决
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表