NeBula-Autonomy / LOCUS

Robust Lidar Odometry System
MIT License
360 stars 49 forks source link

catkin build locus failed #57

Open moonsheep99 opened 2 years ago

moonsheep99 commented 2 years ago

First of all, thank you very much for a great job, but I am having some problems compiling and would appreciate your help. After install all required tools (pcl_ros catkin_tools...), i taked locus and common_nebula_slam unzip into catkin_ws/src , my folders are layered as follows: catkin_ws src core_msgs docker frontend_utils geometry_utils locus ...... and i catkin build locus at catkin_ws/, some errors appeared: 2022-11-01 13-19-41 的屏幕截图

moreover, my environment:Ubuntu18.04 ROS melodic PCL1.8 BOOST1.65 I am looking forward to your reply,thanks

moonsheep99 commented 2 years ago

It shows missing files, i search "BodyFilterConfig.h" in my folder, but not found.

xchwang1998 commented 2 years ago

I have the same problem, and I couldn't find "BodyFilterConfig.h".

femust commented 2 years ago

and if you enforce the catkin build again, the same happens correct? (without cleaning space)

have you guys tried docker?

moonsheep99 commented 2 years ago

and if you enforce the catkin build again, the same happens correct? (without cleaning space)

have you guys tried docker?

ok!thanks for tips,i got it!

xchwang1998 commented 2 years ago

enforce the catkin build again will solve this problem

and if you enforce the catkin build again, the same happens correct? (without cleaning space)

have you guys tried docker?

moonsheep99 commented 2 years ago

i have build success!

I searched for the project and could not find the file. I thought it was generated automatically by the code. This also happens in many projects. I do like this: when error, do not clean space and enforce build again specifically,i catkin build locus -j2 to control memory, and above error occurred, then keep trying to compile with more or fewer threads like catkin build locus -j4 or catkin build locus -j1 (i have only 8 threads) then build successfully although some warnings. 2022-11-01 22-26-37 的屏幕截图 Thank you for your tips and help. I will test later

femust commented 2 years ago

I guess some dependencies are not included properly, then. Let me reopen this thread and review it so we get rid of it for good :)