Failing to install Gazebo on Windows
Hello,
I have been trying to install the latest version of Gazebo on Windows 10, following the installation guide found here: http://gazebosim.org/tutorials?tut=install_on_windows&cat=install.
I have managed to complete steps 1-7 without any problems, however, when coming to step 8, I successfully run the commands, but I can't seem to find any Installation of Ignition CMake. Moreover, when I try moving to the next steps, I am getting an error, which is shown below, together with the output of the step 8. I have been trying to find a solution to this but I couldn't, has anybody encountered this before and knows what should I do to get Gazebo running?
Thank you!
Step 8 output:
Step 9 error:
Asked by Andrei Lazar on 2020-08-09 07:48:55 UTC
Answers
It looks like ign-cmake
installed without the expected directory prefix, ie, it went straight to /bin
, /lib/cmake
and such, not D:\gazebo\ign-cmake\build\install\Release
:
To rebuild ign-cmake
, first delete the entire build directory so changes show up. Editign-cmake/configure.bat
and hardcode this path -DCMAKE_INSTALL_PREFIX="D:\gazebo\ign-cmake\build\install\Release"
to force the install in the correct location. Then run mkdir build && cd build && ..\configure.bat
, and you should see the full and proper install path. Run nmake
and nmake install
afterwards.
If ign-math
can't find it after that (it should, but just in case) you can link to wherever it gets installed by editing ign-math\configure.bat
and declare the full path here: -DCMAKE_PREFIX_PATH="/path/to/install/Release/dir"
Asked by wampus on 2020-12-04 08:52:58 UTC
Comments
I have the same issue, I can complete step 8 without any errors. But there is no 'installation of Ignition CMake in gz-ws/ign-cmake/build/install/Release.' as described in the tutorial. There is no /install/Release folder created after this step.
And when trying to move to step 9 to Ignition Math it says the same that it can't find package configuration file provided by "ignition cmake0".
Asked by Miroslav on 2020-09-01 06:01:29 UTC
There is an ongoing effort of improving the methods of installing Gazebo on Windows. Please check https://github.com/osrf/gazebo/issues/2901 and linked issues, hope it can help you or at least give you some alternatives.
Asked by Jose Luis Rivero on 2020-12-11 14:24:39 UTC