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

缺少头文件 #22

Open
Jaywxy opened this issue Sep 3, 2021 · 3 comments
Open

缺少头文件 #22

Jaywxy opened this issue Sep 3, 2021 · 3 comments

Comments

@Jaywxy
Copy link

Jaywxy commented Sep 3, 2021

/home/***/localization_in_autodriving_ws/src/lidar_localization/src/apps/back_end_node.cpp:9:10: fatal error: lidar_localization/optimizeMap.h: 没有那个文件或目录 #include "lidar_localization/optimizeMap.h"

tag14下编译提示缺少头文件,我去检查了一下好像确实没有哎?请问是我哪里出问题了吗?

@Everbeast
Copy link

同问

@XiaotaoGuo
Copy link

optimizeMap.h 是由 srv/optimizeMap.srv 编译得到的,有可能是 catkin_make -j4 的时候编译顺序出问题,可以试试删掉 build, devel 再用 catkin_make -j1 编译一次得到头文件。编译之后的头文件在 devel/include/lidar_localization

@city945
Copy link

city945 commented Mar 28, 2022

感觉catkin_make时常遇到这个问题,catkin build 倒是能比较好的按预期的顺序编译,就是速度慢的一批

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

4 participants