在源码编译安装gmapping的时候,报错
CMake Error at gmapping/navigation/amcl/CMakeLists.txt:58 (check_symbol_exists):
Unknown CMake command "check_symbol_exists".
-- Configuring incomplete, errors occurred!
See also "/home/lucky/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/lucky/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1692: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
解决办法:
在出错的CMakeLists文件里加一行
include(CheckSymbolExists)
来源:CSDN
作者:樱桃木
链接:https://blog.csdn.net/qq_24624539/article/details/104045020