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

I get an error when I follow your steps for compilation #3

Open
Lqs66 opened this issue Nov 9, 2023 · 0 comments
Open

I get an error when I follow your steps for compilation #3

Lqs66 opened this issue Nov 9, 2023 · 0 comments

Comments

@Lqs66
Copy link

Lqs66 commented Nov 9, 2023

          To instrument ArduPilot using LLVM, Clang should be substituted for GCC as the compiler prior to compilation. For guidance on altering the compiler and platform target, please consult the files ARI/ardupilot/source_me_sitl_bc_step_zero.txt and ARI/ardupilot/wscript.

Originally posted by @J1nwenWang in #1 (comment)

I use the following command:
CC=clang CXX=clang++ CXXFLAGS="-O0 -g --target=arm-linux-gnueabihf -I/usr/arm-linux-gnueabihf -I/usr/arm-linux-gnueabihf/include/c++/9" ./waf configure --board=navio2 && ./waf copter
The error is as follows:
"fatal error: 'bits/libc-header-start.h' file not found
#include <bits/libc-header-start.h>"

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

1 participant