I’m trying to build the Hello Drone example AirSDK mission but I keep running into compiler problems.
I have followed the steps in this post to be able to build for the simulator, but it’s unclear what needs to be done to get it to run on an actual drone.
I did have to specifically install gcc-10-aarch64-linux-gnu which isn’t specifically mentioned but makes sense for an ARM drone.
In the post it is mentioned
For the drone, you need to define the appropriate compiler.
Which based on the error is gcc version 6.3. Does that mean I need to track down the aarch64 cross compiler for that?
the package has parrot-airsdk-anafi2-classic as dependency which itself has the toolchain parrot-tools-gcc-aarch64-himix100-linux to build for the real ANAFI Ai drone hardware.
See here for installation instruction.
See here for the Hello mission build instructions using airsdk-cli.
Alternatively if you do not intend to use airsdk-cli, the toolchain can be installed on its own with
I did have the AirSDK CLI installed. I was able to use it to build the mission for the simulator and that worked just fine once I specified the compiler version.
I tried on a different machine and everything worked. At this point I don’t really need a solution since I can use my other computer, but if you have any tips for what I did wrong, let me know. Otherwise, I’m unblocked now so you can just write this off as “weird error” and close it.