acfr / cam_lidar_calibration

(ITSC 2021) Optimising the selection of samples for robust lidar camera calibration. This package estimates the calibration parameters from camera to lidar frame.
Apache License 2.0
438 stars 103 forks source link

catkin build failed: missing header file #1

Closed hm2092 closed 3 years ago

hm2092 commented 3 years ago

Hello, First of all thank you for the ros package. When i try to build the package i get the error:

/home/user/catkin_ws2/src/cam_lidar_calibration/src/cam_lidar_panel.h:14:10: fatal error: cam_lidar_calibration/RunOptimiseAction.h: No such file or directory

Could you update the missing header file? Thank you in advance.

darrenjkt commented 3 years ago

The file is there. Did you run source devel/setup.bash after catkin_build? I noticed that if you build and source a couple times, it eventually finds where the action header file is.

hm2092 commented 2 years ago

Hi @darrenjkt . Thank you for your reply. Sorry for the delayed update. You were right.

I got the error when i did catkin build. The error was occuring during the build process and crashes the build process. I have also done source devel/setup.bash before executing catkin build. I noticed that for some reason it was invoking make -j1 and skipped building the RunOptimizeAction files. Invoking catkin build -j4 solved my problem.