Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can I download libgazebo9-dev on Ubuntu and then transfer those files to the windows side?

No, the binary library files won't work on Windows. They're compiled on Linux.

Are you talking about this AirSim?

https://microsoft.github.io/AirSim/build_windows.html

Is this you also talking about building it on Mac?

https://github.com/microsoft/AirSim/issues/3790

I don't really know what AirSim is or does but the instructions at the first link worked fine to build it on my Windows machine.

Are you talking about building the GazeboDrone program?

Some more information will be helpful. There are a number of errors I'm getting beyond providing the equivalent to the libgazebo9-dev dependency.

This can be achieved by running cmake from inside a ROS Melodic prompt with ROS installed according to instructions here https://ms-iot.github.io/ROSOnWindows/. Then find_package(gazebo) will succeed. I don't know if you need all of ROS and

I had this problem with M_PI in MeshManager.hh: https://stackoverflow.com/questions/26065359/m-pi-flagged-as-undeclared-identifier solved as suggested there.

Now I am getting a linker error in Visual Studio in the GazeboDrone solution.

LNK1181 cannot open input file 'pthread.lib'

image description

I have an alternate way of providing the dependencies but that's giving me an issue with Google protobuf.

Can I download libgazebo9-dev on Ubuntu and then transfer those files to the windows side?

No, the binary library files won't work on Windows. They're compiled on Linux.

Are you talking about this AirSim?

https://microsoft.github.io/AirSim/build_windows.html

Is this you also talking about building it on Mac?

https://github.com/microsoft/AirSim/issues/3790

I don't really know what AirSim is or does but the instructions at the first link worked fine to build it on my Windows machine.

Are you talking about building the GazeboDrone program?

Some more information will be helpful. There are a number of errors I'm getting beyond providing the equivalent to the libgazebo9-dev dependency.

This can be achieved by running cmake from inside a ROS Melodic prompt with ROS installed according to instructions here https://ms-iot.github.io/ROSOnWindows/. Then find_package(gazebo) will succeed. I don't know if you need all of ROS ROS, but I bet it's the easiest and most painless way to get Gazebo 9 and the source files.

I had this problem with M_PI in MeshManager.hh: https://stackoverflow.com/questions/26065359/m-pi-flagged-as-undeclared-identifier solved as suggested there.

Now I am getting a linker error in Visual Studio in the GazeboDrone solution.

LNK1181 cannot open input file 'pthread.lib'

image description

I have an alternate way of providing the dependencies but that's giving me an issue with Google protobuf.