Assistance building Gamescope from source

Figured it out
Under /usr/share/defaults/etc/profile
change out CXXFLAG -std=gnu++17 with -std=gnu++20
restart shell and try again.

image