Hi,
I am following the development directions posted here https://ardupilot.org/dev/docs/building-setup-linux.html and then the build directions here https://github.com/ArduPilot/ardupilot/blob/master/BUILD.md.
I have tried configuring different boards, created new ardupilot local directories from git with no luck. All I have run is the board configure for my pixhawk 4 and then ./waf copter.
This my error, any help is appreciated
as: unrecognized option ‘–64’
Waf: Leaving directory `/home/mitch/autopilot/ardupilot/build/Pixhawk4’
Build failed
-> task in ‘/home/mitch/autopilot/ardupilot/build/Pixhawk4/gen-bindings’ failed (exit status 1):
{task 140045786813264: /home/mitch/autopilot/ardupilot/build/Pixhawk4/gen-bindings main.c -> gen-bindings}
:
{task 140045786813264: /home/mitch/autopilot/ardupilot/build/Pixhawk4/gen-bindings main.c -> gen-bindings}
’ gcc -std=c99 -Wno-error=missing-field-initializers -Wall -Werror -Wextra -o gen-bindings …/…/libraries/AP_Scripting/generator/src/main.c ’