cartographer_ros icon indicating copy to clipboard operation
cartographer_ros copied to clipboard

I want to compile in the workspace and make an error. Does anyone know what's going on,thank!

Open bo-chong opened this issue 3 years ago • 1 comments

CMake Error at cartographer_ros/cartographer_ros/CMakeLists.txt:39 (include): include could not find load file:

/functions.cmake

CMake Error at cartographer_ros/cartographer_ros/CMakeLists.txt:40 (google_initialize_cartographer_project): Unknown CMake command "google_initialize_cartographer_project".

-- Configuring incomplete, errors occurred! See also "/home/fgwj/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/fgwj/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

bo-chong avatar Nov 18 '21 09:11 bo-chong

@bo-chong Seems like CMake is not finding the cartographer directory? Also the include line in the CMakeLists.txt is here https://github.com/cartographer-project/cartographer_ros/blob/c06879b63567a78ef92b7d1fa79453839e36ffec/cartographer_ros/CMakeLists.txt#L48 in line 48 and not 39. Did you made some changes to that file?

georgflick avatar Nov 19 '21 09:11 georgflick