ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

catkin_make error

asked 2017-08-15 04:02:06 -0600

srikar gravatar image

updated 2017-08-15 08:45:45 -0600

gvdhoorn gravatar image

dump of console text:

$ catkin_make
Base path: /home/srikar/catkin_ws
Source space: /home/srikar/catkin_ws/src
Build space: /home/srikar/catkin_ws/build
Devel space: /home/srikar/catkin_ws/devel
Install space: /home/srikar/catkin_ws/install
Creating symlink "/home/srikar/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake"
####
#### Running command: "cmake /home/srikar/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/srikar/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/srikar/catkin_ws/install -G Unix Makefiles" in "/home/srikar/catkin_ws/build"
####
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU 5.4.0
CMake Error in CMakeLists.txt:
  No CMAKE_C_COMPILER could be found.

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


-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/home/srikar/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/srikar/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-08-15 08:45:15 -0600

gvdhoorn gravatar image

This is really not a question, but a dump of the text on the console after running catkin_make. We're all happy to help here, but please spend some more time on properly formulating a question next time. Please see the wiki/Support - Guidelines for asking a question.


As to your problem: CMake can't seem to find your C compiler. Do you have one installed? If you're using Ubuntu, make sure to install the build-essential package. That should sort things out.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-08-15 04:02:06 -0600

Seen: 1,342 times

Last updated: Aug 15 '17