构建 ign-math 时出错:包含找不到请求的文件:IgnCMake在 Windows 上安装 Gazebo

问题描述

我从本教程开始,在 Windows 上下载和构建 Gazebo:http://gazebosim.org/tutorials?tut=install_on_windows&cat=install

但是在构建 ign-math 文件夹时,我抛出了这个错误

CMake Error at C:/gz-ws/ign-cmake/build/ignition-cmake0-config.cmake:47 (include):
  include Could not find requested file:

    IgnCMake
Call Stack (most recent call first):
  CMakeLists.txt:12 (find_package)


CMake Error at CMakeLists.txt:18 (ign_configure_project):
  UnkNown CMake command "ign_configure_project".


-- Configuring incomplete,errors occurred!
See also "C:/gz-ws/ign-math/build/CMakeFiles/CMakeOutput.log".

这是cmd的图片CMD ERROR PIC

这是我想要实现的目标:

Gazebo Installation Page

链接到凉亭安装页面http://gazebosim.org/tutorials?tut=install_on_windows&cat=install

我已经尝试过但不起作用的:

  1. 通过从--> C:\gz-ws\ign-cmake\cmake 复制将 IgnCMake.cmake 文件添加到 build 文件夹中

  2. 在我的 ign-math/configure.bat 文件中将 DCMAKE_INSTALL_PREFIX="%WORKSPACE_INSTALL_DIR%" 更改为 DCMAKE_INSTALL_PREFIX="C:\gz-ws\ign-cmake\build"

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)