Error while building ign-math : include could not find requested file: IgnCMake (Installing Gazebo on Windows)

asked 2021-06-28 21:01:22 -0500

yagna gravatar image

I started with this tutorial to download and build gazebo on Windows:

But while building the ign-math folder I get this error thrown :

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


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".

Link to gazebo installation page :

What I have already tried but doesn't work :

Added the IgnCMake.cmake file in the build folder by copying it from --> C:\gz-ws\ign-cmake\cmake

Changed DCMAKE_INSTALL_PREFIX= "%WORKSPACE_INSTALL_DIR%" to DCMAKE_INSTALL_PREFIX="C:\gz-ws\ign-cmake\build" in my ign-math/configure.bat file
edit retag flag offensive close merge delete