我从本教程开始在 Windows 上下载和构建凉亭: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
这是我想要实现的目标:
链接到凉亭安装页面:http ://gazebosim.org/tutorials?tut=install_on_windows&cat=install
我已经尝试过但不起作用的方法:
通过从 --> C:\gz-ws\ign-cmake\cmake 复制,在 build 文件夹中添加了 IgnCMake.cmake 文件
在我的 ign-math/configure.bat 文件中将 DCMAKE_INSTALL_PREFIX= "%WORKSPACE_INSTALL_DIR%" 更改为 DCMAKE_INSTALL_PREFIX="C:\gz-ws\ign-cmake\build"