fast_rgf icon indicating copy to clipboard operation
fast_rgf copied to clipboard

compiling error: cc1plus: error: unrecognized command line option "-std=c++11"

Open adrianhust opened this issue 8 years ago • 0 comments

/usr/bin/make64 MAC=64 [ 8%] Building CXX object src/base/CMakeFiles/base.dir/utils.cpp.o cc1plus: error: unrecognized command line option "-std=c++11" cc1plus: error: unrecognized command line option "-std=c++11" make64[2]: *** [src/base/CMakeFiles/base.dir/utils.cpp.o] Error 1 make64[1]: *** [src/base/CMakeFiles/base.dir/all] Error 2 make64: *** [all] Error 2

some c++11 feature used in code, so old version g++ will throw errors like this, we should upgrade gcc I shoot it by http://ask.xmodulo.com/upgrade-gcc-centos.html it works! May help others

adrianhust avatar Sep 07 '16 05:09 adrianhust