costmap_2d' specifies '/include' as an include dir, which is not found

asked 2021-06-30 11:18:06 -0500

superman gravatar image

updated 2021-07-01 06:14:26 -0500

mgruhler gravatar image

straight dump of the error messages

+++ processing catkin package: 'nav_core'
-- ==> add_subdirectory(navigation/nav_core)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /home/ubuntu/catkin_ws/devel/share/costmap_2d/cmake/costmap_2dConfig.cmake:113 (message):
  Project 'costmap_2d' specifies '/include' as an include dir, which is not
  found.  It does neither exist as an absolute directory nor in
  '/home/ubuntu/catkin_ws/src/navigation/costmap_2d//include'.  Check the
  website 'http://wiki.ros.org/costmap_2d' for information and consider
  reporting the problem.
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  navigation/nav_core/CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/catkin_ws/build/CMakeFiles/CMakeError.log".

I am getting this error when i try to build navigation package.

edit retag flag offensive close merge delete

Comments

sry i am new to ros. I am using ros noetic , i have cmake version3.16.3. i get this eror every time i try to build the navigation package . does anyone know how to fix this

superman gravatar image superman  ( 2021-06-30 11:21:36 -0500 )edit
  • Which OS are you using?
  • How did you get the source code of the navigation stack? Download from GitHub? If yes, which branch/commit-SHA?
  • If under version control, can you confirm there are no changes whatsoever in that repo? git status?
mgruhler gravatar image mgruhler  ( 2021-07-01 06:20:32 -0500 )edit

Did anyone solve this problem ? I have the exactly the same issue....

hankm gravatar image hankm  ( 2022-08-06 21:46:59 -0500 )edit