Waf problem Ubuntu 22.04

ChibiOS build requires g++ version 10.2.1 or later, found 9.3.1

I get the above problem when I run the following command: ./waf configure --board CubeOrange

g++ version: 11.4.0
Tools/environment_install/install-prereqs-ubuntu.sh -y The command has been tried and no error is seen.

The instructions and install script are fairly mature and typically work without issue.

If you have elected to say “no” to any of the prompts in the script, you may experience issues like the one above. If you specifically want to decline those options for any reason, take note of what they do and set your environment up manually before building AP.

Consider building with Docker or creating a new user account that is specific to building AP if you are concerned about disrupting an existing environment for other development.