koide3 / hdl_graph_slam

3D LIDAR-based Graph SLAM
BSD 2-Clause "Simplified" License
1.98k stars 726 forks source link

fatal error: sophus/so3.hpp: No such file or directory #161

Open alexwbots opened 3 years ago

alexwbots commented 3 years ago

I have this problem when I use the command catkin_make. Thanks in advance!

In file included from /home/alex/tryout_ws/src/fast_gicp/src/fast_gicp/gicp/fast_vgicp.cpp:1:0: /home/alex/tryout_ws/src/fast_gicp/include/fast_gicp/gicp/fast_vgicp.hpp:14:10: fatal error: sophus/so3.hpp: No such file or directory

include <sophus/so3.hpp>

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

compilation terminated. fast_gicp/CMakeFiles/fast_gicp.dir/build.make:110: recipe for target 'fast_gicp/CMakeFiles/fast_gicp.dir/src/fast_gicp/gicp/fast_vgicp.cpp.o' failed make[2]: [fast_gicp/CMakeFiles/fast_gicp.dir/src/fast_gicp/gicp/fast_vgicp.cpp.o] Error 1 CMakeFiles/Makefile2:443: recipe for target 'fast_gicp/CMakeFiles/fast_gicp.dir/all' failed make[1]: [fast_gicp/CMakeFiles/fast_gicp.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j8 -l8" failed

koide3 commented 3 years ago

Please make sure that fast_gicp package is cloned with --recursive option.