The error message it's referring to gcc-12 but Zorin OS doesn't have that by default. Please see this thread for reference:
gcc-12