Skip to content

编译出错,头文件丢失 #1

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

Open
Taospirit opened this issue Apr 2, 2019 · 2 comments
Open

编译出错,头文件丢失 #1

Taospirit opened this issue Apr 2, 2019 · 2 comments

Comments

@Taospirit
Copy link

您好,我在编译时发现很多头文件缺失了.是因为您后面重构了把很多文件改掉了?还是如何?期待并感谢您的回复!

@nubot-nudt
Copy link
Collaborator

这是由于catkin_make多核并行编译的问题,导致一些消息头文件没有提前生成,你可以采用:
$ catkin_make -j1
的方式单核编译,时间会比较长,或者先单独编译allocation_common这个包:
$ catkin_make --pkg allocation_common
然后再运行:
$ catkin_make
这样应该就能解决您的问题

@Taospirit
Copy link
Author

问题已解决,感谢您的回复!

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

1 participant