Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error installing ign-math in windows 10

Hi!

I am attempting to follow the installation instructions for windows, found here: http://gazebosim.org/tutorials?tut=install_on_windows&cat=install

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

Error:

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>.\configure

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:

    ignition-cmake0Config.cmake
    ignition-cmake0-config.cmake

  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".
D:\gz-ws\ign-math\build>.\configure
'.\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