我目前正在从 Git 版本编译 graph-tool v1.13。我已经设法从中生成configure
文件,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 version 4.9.3 (Ubuntu 4.9.3-8ubuntu2~14.04)
。据我所知,这应该支持 C++14,那么我哪里出错了?我正在运行 Ubuntu 14.04。