Gazebo | Ignition | Community
Ask Your Question

Error installing ign-math in windows 10

asked 2020-05-31 11:17:50 -0500

massiah3100 gravatar image


I am attempting to follow the installation instructions for windows, found here:

Some background:

  • I am running Windows 10 64 bit
  • I am trying to install in D:\gz-ws
  • I had to modify the configure file for ign-cmake in step #8 because the file wasn't setting the install path so it was creating the folders in the root D:\ directory instead of /ign-cmake/build/install/Release


I am now getting an error on step #9 when attempting to run the .\configure command for ign-math. I have attached the full output below:


D:\gz-ws\ign-math>call  :install_ign_project ign-cmake ign-cmake0
The system cannot find the batch label specified - install_ign_project
Configuring for build type Release

D:\gz-ws\ign-math>cd /d D:\gz-ws\ign-math\

D:\gz-ws\ign-math>md build
A subdirectory or file build already exists.

D:\gz-ws\ign-math>cd build

D:\gz-ws\ign-math\build>cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=""install\Release"" -        DCMAKE_BUILD_TYPE="Release" -DBUILD_TESTING:BOOL=False
CMake Error at CMakeLists.txt:16 (find_package):
  By not providing "Findignition-cmake0.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "ignition-cmake0", but CMake did not find one.

 Could not find a package configuration file provided by "ignition-cmake0"
  (requested version 0.3.0) with any of the following names:


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

-- Configuring incomplete, errors occurred!
See also "D:/gz-ws/ign-math/build/CMakeFiles/CMakeOutput.log".
'.\configure' is not recognized as an internal or external command,
operable program or batch file.

If anyone could offer any assistance I would be really grateful, thank you!

Note: looking at the configuration file, the first line is actually this:

call %win_lib% :install_ign_project ign-cmake ign-cmake0

I don't know what win_lib is supposed to be or where this label is located

edit retag flag offensive close merge delete


I'm getting the same error.

Keara gravatar imageKeara ( 2020-06-05 18:29:58 -0500 )edit

same error here i think the problem will be in the configure bat file

shadowzone22 gravatar imageshadowzone22 ( 2020-06-13 15:53:44 -0500 )edit

Any updates on this one? Seems like several people have had this problem.

Gihar gravatar imageGihar ( 2020-08-10 18:57:32 -0500 )edit

I have the same problem, can't get past step 9 in the tutorial and it looks like this is a reoccurring problem i don't know why it's not addressed yet

Miroslav gravatar imageMiroslav ( 2020-09-01 06:09:20 -0500 )edit

Any updates?

purple_banana gravatar imagepurple_banana ( 2020-10-08 22:55:14 -0500 )edit

There is an ongoing effort of improving the methods of installing Gazebo on Windows. Please check and linked issues, hope it can help you or at least give you some alternatives.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2020-12-11 13:25:13 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-12-02 08:56:32 -0500

wampus gravatar image

updated 2020-12-02 12:41:39 -0500

To get it to recognize ign-cmake0, edit ign-math\configure.bat L22 by adding the -DCMAKE_PREFIX_PATH:


In your case, I think it would be : -DCMAKE_PREFIX_PATH="D:\gz-ws\ign-cmake\build\install\Release" Your second .\configurefailed because the script leaves you in the builddirectory, so you need to move back to ìgn-math`.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2020-05-31 11:17:50 -0500

Seen: 739 times

Last updated: Dec 02 '20