CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
G2O_CORE_LIBRARY
linked by target "matching_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization
linked by target "back_end_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization
linked by target "front_end_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization
linked by target "data_pretreat_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization
当然几乎所有发节点都包含这个错误,想请教一下这个是什么问题,
我在Ubuntu2004环境下使用catkin_make编译出现如下错误:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: G2O_CORE_LIBRARY linked by target "matching_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization linked by target "back_end_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization linked by target "front_end_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization linked by target "data_pretreat_node" in directory /home/joy/WS/localization_in_auto_driving/src/lidar_localization 当然几乎所有发节点都包含这个错误,想请教一下这个是什么问题,