Robotics StackExchange | Archived questions

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

I started with this tutorial to download and build gazebo on Windows: http://gazebosim.org/tutorials?tut=install_on_windows&cat=install

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:

IgnCMake

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

CMake Error at CMakeLists.txt:18 (ignconfigureproject): Unknown CMake command "ignconfigureproject".

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

Link to gazebo installation page : http://gazebosim.org/tutorials?tut=install_on_windows&cat=install

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

Asked by yagna on 2021-06-28 21:01:22 UTC

Comments

Answers