so it finally compiled on WSL(Ubuntu16) . Unfortunately, none of the instructionGitbook completely worked.
as you would see in my log. arm-none-eabi-g++ and ubuntu18 seems to be the problem. https://codeshare.io/arYD6z
Thanks.
Glad that the prereqs script worked for you, let us know if you need any further assistance.
You can read more about ArduSub build instructions here: Build ArduSub · GitBook
Ardupilot documentation sometimes can fail to be complete or updated, so it’s better to follow ArduSub website.
Karl could you please explain how you uploaded the build without using waf? I have the same issue where I was able to build with waf but my upload is hanging at the bootloader part.