Andrew_lad 2023-01-07 20:36 采纳率: 10%
浏览 233
已结题

XTDrone的三维运动规划步骤中编译ego_planner时报错

我正在编译ego_planner

img

编译完后报错如下

Errors     << ego_planner:cmake /home/lad/catkin_ws/logs/ego_planner/build.cmake.002.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "quadrotor_msgs"
  with any of the following names:

    quadrotor_msgsConfig.cmake
    quadrotor_msgs-config.cmake

  Add the installation prefix of "quadrotor_msgs" to CMAKE_PREFIX_PATH or set
  "quadrotor_msgs_DIR" to a directory containing one of the above files.  If
  "quadrotor_msgs" provides a separate development package or SDK, be sure it
  has been installed.

quadrotor_msgs这个包我检查过了,有下载,应该是要添加什么路径( Add the installation prefix of "quadrotor_msgs" to CMAKE_PREFIX_PATH)
请问这个路径要怎么添加

另外,如下图,有16个包被跳过了,请问有没有影响,如果有影响该怎么解决呢

img

  • 写回答

5条回答 默认 最新

  • heart_6662 2023-01-07 21:18
    关注

    可以尝试将quadrotor_msgs它的安装路径添加到环境变量CMAKE_PREFIX_PATH中。
    或者,也可以将变量quadrotor_msgs_DIR设置为包含上述文件之一的文件夹的路径。

    评论 编辑记录

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 1月10日
  • 创建了问题 1月7日

悬赏问题

  • ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包
  • ¥15 用visualstudio2022创建vue项目后无法启动
  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境
  • ¥30 关于#java#的问题,请各位专家解答!