But I agree with mr Oliveri, make is often a better option.
If you changed the build command in geany as said in the exercise, the « build » button (red bricks) should work but not the « compile » one (yellow red and blue button).