cmake报错

2022-06-29  本文已影响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++")```
上一篇 下一篇

猜你喜欢

热点阅读