我目前正在从 Git 版本编译 graph-tool v1.13。我已经设法从 autogen.sh
生成了 configure
文件,但现在遇到了麻烦。
运行 ./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。
最佳答案
关于gcc - 配置需要 C++14 支持,但 gcc -v = 4.9.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35723718/