configure需要C 14支持,但gcc -v = 4.9.3
发布时间:2020-12-16 10:01:55 所属栏目:百科 来源:网络整理
导读:我目前正在从 Git版本编译图形工具v1.13.我已设法从autogen.sh生成配置文件,但现在遇到了麻烦. 运行./configure我收到消息: checking whether g++ supports C++14 features by default... nochecking whether g++ supports C++14 features with -std=gnu++1
我目前正在从
Git版本编译图形工具v1.13.我已设法从autogen.sh生成配置文件,但现在遇到了麻烦.
运行./configure我收到消息: checking whether g++ supports C++14 features by default... no checking whether g++ supports C++14 features with -std=gnu++14... no checking whether g++ supports C++14 features with -std=gnu++0x... no configure: error: *** A compiler with support for C++14 language features is required. 我检查了gcc -v和g -v并收到响应gcc版本4.9.3(Ubuntu 4.9.3-8ubuntu2~14.04).据我所知,这应该支持C 14所以我哪里出错了?我正在运行Ubuntu 14.04. 解决方法
或许试试吧
./configure CXX='g++-5' 安装了一些GCC 5之后 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |