zoukankan      html  css  js  c++  java
  • Compile error: Cannot find a C++ compiler that supports both C++11 and the specified C++ flags

    reno@MyComputer:~/tools/cmake-3.12.4$ ./configure

    ---------------------------------------------

    CMake 3.12.4, Copyright 2000-2018 Kitware, Inc. and Contributors

    C compiler on this system is: cc

    ---------------------------------------------

    Error when bootstrapping CMake:

    Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.

    Please specify one using environment variable CXX.

    The C++ flags are "".

    They can be changed using the environment variable CXXFLAGS.

    See cmake_bootstrap.log for compilers attempted.

    ---------------------------------------------

    Log of errors: /home/reno/tools/cmake-3.12.4/Bootstrap.cmk/cmake_bootstrap.log

    ---------------------------------------------

    解决方案:sudo apt-get install g++

  • 相关阅读:
    6554545555
    484844
    学习资料整理
    word加上尾注之后参考文献下面的横线去除
    数据结构+算法
    python编程
    计算机网络(1)
    数据结构
    数据分析笔试(3)
    数据分析笔试(2)
  • 原文地址:https://www.cnblogs.com/exmyth/p/13665989.html
Copyright © 2011-2022 走看看