Closed lucasdemarchi closed 7 years ago
Thanks, @lucasdemarchi. We were actually using that other approach some time ago, as you can see in here. Can you please take a look at it and see if that's ok before we roll back?
It doesnt need to be "installed", you just have provide a path to where it is.
On several systems it's not expected to have mavlink libraries installed. Particularly because of the way it's structured, having different code generated depending on the flight stack it's used. Another approach is to bundle the header-only library. This is the approach used by ardupilot, mavlink-router and PX4 (although PX4 pre-generates it, probably due to the GPL requirement).
See the approach in mavlink-router: https://github.com/01org/mavlink-router/blob/master/Makefile.am#L22-L27