Zhefan-Xu / map_manager

3D Mapping Library for Autonomous Robots (C++/ROS)
MIT License
48 stars 4 forks source link

fatal error: map_manager/CheckPosCollision.h: No such file or directory #5

Closed Archie945 closed 5 months ago

Archie945 commented 5 months ago

当我完全按照您的教程安装时,收到了找不到这个头文件的错误。 [ 26%] Building CXX object CERLAB-UAV-Autonomy/map_manager/CMakeFiles/map_manager.dir/include/map_manager/occupancyMap.cpp.o In file included from /home/nvidia/catkin_ws/src/CERLAB-UAV-Autonomy/map_manager/include/map_manager/occupancyMap.cpp:6:0: /home/nvidia/catkin_ws/src/CERLAB-UAV-Autonomy/map_manager/include/map_manager/occupancyMap.h:25:10: fatal error: map_manager/CheckPosCollision.h: No such file or directory

include <map_manager/CheckPosCollision.h>

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. CERLAB-UAV-Autonomy/map_manager/CMakeFiles/map_manager.dir/build.make:62: recipe for target 'CERLAB-UAV-Autonomy/map_manager/CMakeFiles/map_manager.dir/include/map_manager/occupancyMap.cpp.o' failed make[2]: [CERLAB-UAV-Autonomy/map_manager/CMakeFiles/map_manager.dir/include/map_manager/occupancyMap.cpp.o] Error 1 CMakeFiles/Makefile2:4193: recipe for target 'CERLAB-UAV-Autonomy/map_manager/CMakeFiles/map_manager.dir/all' failed make[1]: [CERLAB-UAV-Autonomy/map_manager/CMakeFiles/map_manager.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j6 -l6" failed 请问如何解决?我查找了您的原代码,确实没有这个头文件

Zhefan-Xu commented 5 months ago

Could you please provide the way to reproduce the issue?