cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.16k stars 2.25k forks source link

cartographer/common/make_unique.h: No such file or directory #1871

Open lukeprotag opened 2 years ago

lukeprotag commented 2 years ago

/home/luke/Documents/code/ugv_sdk/src/cartographer_ros/cartographer_ros/cartographer_ros/assets_writer.cc:24:10: fatal error: cartographer/common/make_unique.h: No such file or directory 24 | #include "cartographer/common/make_unique.h" | ^~~~~~~~~~~ compilation terminated. make[2]: [cartographer_ros/cartographer_ros/CMakeFiles/cartographer_ros.dir/build.make:63: cartographer_ros/cartographer_ros/CMakeFiles/cartographer_ros.dir/cartographer_ros/assets_writer.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:15785: cartographer_ros/cartographer_ros/CMakeFiles/cartographer_ros.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

FENGZHANG123 commented 2 years ago

Hi, have you sloved it? same problem here

FENGZHANG123 commented 2 years ago

I found the solution, the version of catographer_ros is old, update to the lastest master branch, not the pulished version