文章目录
前言
在autoware.universe的编译过程中,报了一个错误:
: fatal error: grid_map_core/eigen_plugins/FunctorsPlugin.hpp: 没有那个文件或目录
compilation terminated.
gmake[2]: *** [CMakeFiles/autoware_behavior_velocity_planner_lib.dir/build.make:76:CMakeFiles/autoware_behavior_velocity_planner_lib.dir/src/node.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:616:CMakeFiles/autoware_behavior_velocity_planner_lib.dir/all] 错误 2
gmake: *** [Makefile:146:all] 错误 2
这是因为缺失了库文件。
后来在ros2中安装了之后,发现还是找不到。
然后看编译的错误结果,是autoware_behavior_velocity_planner中找不到,于是我在behavior_velocity_planner/autoware_behavior_velocity_planner/CMakeLists.txt中,添加了以下几行: