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

Catkin make error: No such file or directory for existing header file

asked 2022-04-27 01:08:44 -0600

hziya gravatar image

updated 2022-04-27 06:39:12 -0600

My problem is similar to one in
[]. But I couldn't find a solution. TI removed and reinstalled the ros nothing changed.

I am using Ros-Melodic

My error was something like this: In file included from /home/user/ws/src/B/src/bb/bb.cpp fatal error: A/aa.h: No such file or directory #include

CmakeLists.txt are fine

edit retag flag offensive close merge delete


Please explain what is your question and/or problem with detail and maybe screenshots of problem

FurkanEdizkan gravatar image FurkanEdizkan  ( 2022-04-27 05:34:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-04-27 06:40:41 -0600

hziya gravatar image

updated 2022-04-27 06:42:08 -0600

The problem is solved by first building A pkg by

catkin_make --pkg A

then building all by


edit flag offensive delete link more

Question Tools

1 follower


Asked: 2022-04-27 01:04:29 -0600

Seen: 400 times

Last updated: Apr 27 '22