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

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

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

hziya gravatar image

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

My problem is similar to one in
[https://answers.ros.org/question/2335...]. 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

Comments

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

hziya gravatar image

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

The problem is solved by first building A pkg by

catkin_make --pkg A

then building all by

catkin_make

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 506 times

Last updated: Apr 27 '22