Compiling Issue
#1
I'm getting this issue when I try compiling on Linux. Please help, thanks!


[ 0%] Building CXX object lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_reader.cpp.o
cc1plus: error: unrecognized command line option ‘-std=c++11’
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [lib/jsoncpp/CMakeFiles/jsoncpp.dir/src/lib_json/json_reader.cpp.o] Error 1
make[1]: *** [lib/jsoncpp/CMakeFiles/jsoncpp.dir/all] Error 2
make: *** [all] Error 2
Reply
Thanks given by:
#2
Your GCC is out or date, and does not support C++11.

Upgrade to a later version.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)