I have been trying to compile a PX4 file, using both .WAF and Make, however they both end up failing in multiple ways. Attached image is from my latest attempt to compile (after a fresh clone and update) with “Make px4-v2”, where the compiler ended with a [CHECK-MODULES] Error 1 code.
Am I missing something? Everything should be ready to go as per the Developers guide in the ArduSub documentation.
Run the install-prereqs script after doing the checkout ArduSub-stable. You are installing the tools for the master branch but you are trying to compile last ArduSub-stable version.
Would be fantastic if a could get a step by step list of commands and dependencies, in the correct order, detailing how to get from a fresh cloned repository, to a successful build with waf. Jumping back and forth from various guides and links, (not knowing if you are running commands is the right order) is most likely my issue with getting this build compiled.
From what i’ve learned;
Need to run install-prereqs in Ardusub branch
ArduSub-stable v.3.5.4 April 1 2019 requires GCC version 4.9 to build.
Compiling with Make is a bad idea (deprecated), as .WAF is becoming the new standard for building.
I’m sorry to inform you, but I was able to replicate your issue and we are going to update our documentation about it.
You can check the issue status here:
I did a test here with a docker image of ubuntu 18.04 that in theory is similar with your WSL version.