Unsolved Just installed QT Creator on Ubuntu 14.04, getting this error: unrecognized command line option ‘-std=gnu++14’
-
Getting this error on ubuntu 14.04.
error: unrecognized command line option ‘-std=gnu++14’I have already tried updating my build-essentials. Any advice?
-
Which version of gcc you have?
Can check with:gcc --version
-
@gagiD gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
-
You need at least 4.9 version or don't use C++14 if you can.
P.S.
There is http://packages.ubuntu.com/trusty/gcc-4.9-base package. -
@gagiD updated to 4.9 and everything compiles thanks!