You can change the cmake file to set_property(TARGET dcgan PROPERTY CXX_STANDARD 14).  It’s impossible to tell what the problem is without seeing the code and the error logs.  I am using GCC9 as well.  Looking at my code it differs from the tutorial a little bit but perhaps you can look at it here 2 and figure out your problem.