相关疑难解决方法(0)

CMAKE_C_COMPILER不是现有编译器工具的完整路径

我最近浏览了distcc,无法使其正常运行。所以我

sudo apt-get remove distcc
Run Code Online (Sandbox Code Playgroud)

之后,我得到了错误

==> Processing catkin package: 'gencpp'
==> Building with env: '/opt/ros/kinetic/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/pi/ros_catkin_ws/build_isolated/gencpp'
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
  The CMAKE_C_COMPILER:

    /usr/local/bin/cc

is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to …
Run Code Online (Sandbox Code Playgroud)

gcc makefile g++ distcc

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

distcc ×1

g++ ×1

gcc ×1

makefile ×1