Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on Fedora Silverblue/uBlue OS #43

Open
zilexa opened this issue Aug 5, 2024 · 1 comment
Open

Cannot build on Fedora Silverblue/uBlue OS #43

zilexa opened this issue Aug 5, 2024 · 1 comment

Comments

@zilexa
Copy link

zilexa commented Aug 5, 2024

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?

@julianoes
Copy link
Contributor

Did you get the submodule?

git submodule update --init --recursive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants