跑代码一直报错
最后在电脑中locate point_traits.h后发现我的pcl中没有point_traits.h的文件,请问怎么解决?
In file included from /home/vickytwan/catkin_ws/src/plane_fit_ground_filter/include/plane_ground_filter_core.h:12,
from /home/vickytwan/catkin_ws/src/plane_fit_ground_filter/src/plane_ground_filter_core.cpp:1:
/opt/ros/noetic/include/pcl_ros/point_cloud.h:6:10: fatal error: pcl/point_traits.h: 没有那个文件或目录
6 | #include <pcl/point_traits.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [plane_fit_ground_filter/CMakeFiles/plane_ground_filter_node.dir/build.make:76:plane_fit_ground_filter/CMakeFiles/plane_ground_filter_node.dir/src/plane_ground_filter_core.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....