Skip to content

Proper way to build with superbuild off? #2665

@reedev

Description

@reedev

Hi,

When I try to build MAVSDK with superbuild off, from v3.8.0 I get this message:
gmake[2]: *** No rule to make target 'third_party/install/include/mavlink/message_definitions/v1.0/ardupilotmega.xml', needed by 'src/mavsdk/core/embedded_mavlink_xml.h'. Stop.
It makes sense since this one, and the others, are not there.

I read your discussion @julianoes and @JonasVautherin when the MavlinkDirect plugin was first added, but could not find a way how to point to a different location. All I see are the hard-coded set(MAVLINK_MINIMAL_XML... in the CMakeLists.txt and when I change these to point to my location, MAVSDK is built properly.

If, like @JonasVautherin suggested, there is a way to specify this location via a cmake flag, it would be fine I guess. Not sure how that should be done so I would like to ask you... thanks!

Update: ok, that wasn't so hard, created a PR to set the variables only when not specified

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions