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 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, 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'
I have an alternate way of providing the dependencies but that's giving me an issue with Google protobuf.