Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin build locus failed #57

Open
moonsheep99 opened this issue Nov 1, 2022 · 7 comments
Open

catkin build locus failed #57

moonsheep99 opened this issue Nov 1, 2022 · 7 comments
Assignees

Comments

@moonsheep99
Copy link

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
Copy link
Author

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

@xchwang1998
Copy link

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

@femust
Copy link
Collaborator

femust commented Nov 1, 2022

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

have you guys tried docker?

@moonsheep99
Copy link
Author

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
Copy link

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
Copy link
Author

moonsheep99 commented Nov 1, 2022

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
Copy link
Collaborator

femust commented Nov 1, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants