Ardusub build cmake error

Hi,

You are using the wrong compiler, please check my last comment for further information.
To a step-by-step build, take a look here [This is also in the thread that I linked previously].