Skip to content

Cannot build on Fedora Silverblue/uBlue OS #43

Description

@zilexa

I downloaded your repository and extracted it, entered the folder, ran git init and then make:

 make
git submodule update --init --recursive
g++ -g -Wall -I mavlink/include/mavlink/v2.0 mavlink_control.cpp serial_port.cpp udp_port.cpp autopilot_interface.cpp -o mavlink_control -lpthread
In file included from mavlink_control.cpp:56:
mavlink_control.h:70:10: fatal error: common/mavlink.h: No such file or directory
   70 | #include <common/mavlink.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from serial_port.cpp:55:
serial_port.h:65:10: fatal error: common/mavlink.h: No such file or directory
   65 | #include <common/mavlink.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from udp_port.cpp:57:
udp_port.h:76:10: fatal error: common/mavlink.h: No such file or directory
   76 | #include <common/mavlink.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from autopilot_interface.h:58,
                 from autopilot_interface.cpp:55:
generic_port.h:59:10: fatal error: common/mavlink.h: No such file or directory
   59 | #include <common/mavlink.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [makefile:4: mavlink_control] Error 1
asterix@fedora:~/groundController/c_uart_interface_example$ 

Looks like something is missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions