Gazebo | Ignition | Community
Ask Your Question
0

Failing to install Gazebo on Windows

asked 2020-08-09 07:48:55 -0500

Andrei Lazar gravatar image

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=in....

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:

image description

Step 9 error:

image description

edit retag flag offensive close merge delete

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

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

There is an ongoing effort of improving the methods of installing Gazebo on Windows. Please check https://github.com/osrf/gazebo/issues... 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:24:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-04 07:52:58 -0500

wampus gravatar image

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"

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-08-09 07:48:55 -0500

Seen: 864 times

Last updated: Dec 04 '20