NVlabs / stylegan2-ada

StyleGAN2 with adaptive discriminator augmentation (ADA) - Official TensorFlow implementation

Home Page:https://arxiv.org/abs/2006.06676

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to fix the C++11 error

Johnson-yue opened this issue · comments

Hi, I using tensorflow==1.14.0 , CUDA 10.0 , cuDNN 7.5.1 on Ubuntu16.04
but I meet a C++ bug

C++ versions less than C++11 are not supported
#error This file requires compiler and library support for the ISO c++ 2011 standard. This support must be enabled with the -std=C++11 or std=gun++11 compiler options

But I do not know where should I add "-std=c++11 or -std=gun++11" or Should I update my g++ version ??
How I fix it ?

when I add ‘--std=c++11’ in _run_cmd()
it failed

thank you very much , it solve my problem!!!