Robotics StackExchange | Archived questions

'controller_manager' specifies '/.../ros_control/controller_manager/include' as an include dir, which is not found.

I went through the related questions and tried to implement the solutions as suggested, but I couldn't get the solution of this error.

This error happened when I was implementing Hector Slam in my system, so I went onto install packages. Has some package installations have caused this error ? After that even turtlebot failed to appear in the gazebo environment

At times, I get 'make -j12 -l12' or 'make cmakecheckbuild_system error'

Please help, I'm Stuck on this error for a long time. I am very new to this environment.

Thanks in Advance. PS I'm unable to upload the picture of the Error as I dont have 5 points. :(

Error:

-- Gazebo version: 9.12
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /home/ishan/AuE893Spring19_SharmaIshan/catkin_ws/devel/share/controller_manager/cmake/controller_managerConfig.cmake:113 (message):
  Project 'controller_manager' specifies
  '/home/ishan/AuE893Spring19_SharmaIshan/catkin_ws/src/ros_control/controller_manager/include'
  as an include dir, which is not found.  It does neither exist as an
  absolute directory nor in
  '/home/ishan/AuE893Spring19_SharmaIshan/catkin_ws/src/ros_control/controller_manager//home/ishan/AuE893Spring19_SharmaIshan/catkin_ws/src/ros_control/controller_manager/include'.
  Check the issue tracker
  'https://github.com/ros-controls/ros_control/issues' and consider creating
  a ticket if the problem has not been reported yet.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  gazebo_ros_pkgs/gazebo_ros_control/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ishan/AuE893Spring19_SharmaIshan/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:6912: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Asked by ishaniis on 2020-03-03 13:08:48 UTC

Comments

If you are having compilation errors, we need to see what the errors actually are. If you have specific errors, please edit your original question to provide the output of these errors. Please upload the errors as text, not images. Is there a particular image that you are trying to upload that is more than text?

Also, for guidance on these best practices, please review the support guidelines: http://wiki.ros.org/Support

Asked by jarvisschultz on 2020-03-03 13:28:54 UTC

Hey, I just updated the question with the error.

Asked by ishaniis on 2020-03-03 13:34:30 UTC

You tagged ROS Kinetic, but it appears you are trying to compile stuff with Gazebo 9.12.... is there a good reason for this? Mixing ROS/Gazebo versions can be messy, and best avoided if possible. Any reason you are building the controller_manager package from source when it could be installed from apt?

Asked by jarvisschultz on 2020-03-04 18:26:50 UTC

Answers