Gazebo | Ignition | Community
Ask Your Question
0

Transfer libgazebo9-dev from Ubuntu to Windows

asked 2021-06-15 11:12:26 -0500

Nikita gravatar image

I'm trying to run AirSim and Unreal Engine on my windows laptop, but the package requires libgazebo9-dev, which is only supported on Ubuntu versions. Can I download libgazebo9-dev on Ubuntu and then transfer those files to the windows side? (Running virtual box with Ubuntu)

Otherwise, how can I obtain the lib dependency on my windows in order to run the other simulations and packages?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-23 02:38:26 -0500

danzimmerman gravatar image

updated 2021-06-23 02:40:27 -0500

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/bu...

Is this you also talking about building it on Mac?

https://github.com/microsoft/AirSim/i...

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 cmakefrom 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, 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/2... 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.

edit flag offensive delete link more

Comments

Thank you for answering this! To clarify, that is the AirSim program I am trying to run with Unreal Engine, and I am trying to run the GazeboDrone class in AirSim's repo. The issue I am having is specific with the libgazebo9-dev dependency, as I prefer trying to keep everything on the Windows side, but have only found libgazebo to be functional with certain versions of Ubuntu. I am not trying to run it on mac.

Nikita gravatar imageNikita ( 2021-07-01 14:20:48 -0500 )edit

I have posted here (https://github.com/microsoft/AirSim/i...) and here (https://github.com/osrf/gazebo/issues...). I'll try the links you mentioned with ROS, but I'm assuming you have not had any luck getting the plug-ins functioning properly?

Nikita gravatar imageNikita ( 2021-07-01 14:20:51 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-06-15 11:12:26 -0500

Seen: 1,131 times

Last updated: Jun 23 '21