美文网首页
cmake报错

cmake报错

作者: 牛顿大尉 | 来源:发表于2022-06-29 15:13 被阅读0次

    1无法识别"ALL',"ALL_.."

    修改cmakelist.txt文件,指定cmake版本

    1. " Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH."

    修改cmakelist.txt文件,指定编译器

    
    set(CMAKE_C_COMPILER "/public/home/baoqi/software/envs/gcc/bin/gcc")
    
    set(CMAKE_CXX_COMPILER "/public/home/baoqi/software/envs/gcc/bin/g++")```
    

    相关文章

      网友评论

          本文标题:cmake报错

          本文链接:https://www.haomeiwen.com/subject/vantbrtx.html