cmake - 问题是什么,当我构建 ROS hector 导航时
问题描述
我正在尝试在 ROS 中使用 hector 导航来进行导航。但是当我按照步骤操作时,会出现一些问题。当我做cmake时,问题发生如下。
Project 'ceres_catkin' tried to find library 'gflags'. The library is
neither a target nor built/installed properly. Did you compile project
'gflags_catkin'? Did you find_package() it before the subdirectory
containing its code is included?
我在 ceres_catkin 包的 CMakeLists.txt 中添加了如下行。
include_directories(${gflags_catkin_INCLUDE_DIRS})
include_directories(${glog_catkin_INCLUDE_DIRS})
但仍然遇到同样的问题。我该如何解决?
解决方案
推荐阅读
- python - `MANIFEST.in` 的作用是什么?
- javascript - React 如何在 DOM 中渲染复杂的数据数组?
- powershell - 使用 Powershell 重命名没有名称的文件(仅包含空格)
- c# - 从 JSON 结构中检索价格:C# World Trading Data API
- python - 当我执行 daphne 命令时,我得到一个错误:没有这样的文件或目录
- java - 如何在 SQL 查询中使用方法返回的字符串值
- c# - 视图组件 - 传递到 ViewDataDictionary 的模型不正确
- python - 使用 STDIN 输入列表并输出子列表
- vuejs2 - Vue:在 vuex 存储状态下导入对象
- reactjs - 类型错误:JSX 元素类型 '{} | 空 | undefined' 不是 JSX 元素的构造函数