#error This file requires compiler and library support for the \
ISO C++ 2011 standard. This support is currently experimental, and must be \
enabled with the -std=c++11 or -std=gnu++11 compiler options.
Ive installed the latest mingw with $ sudo apt-get install gcc-mingw-w64
mingw is for Windows, on Linux one can use g++ directly. See if it is already installed (it probably will be)- in a terminal type g++ -v , tell us what the output is.
But really Google is a big help, searching for "c++ development on ubuntu" yields this:
#error This file requires compiler and library support for the \
ISO C++ 2011 standard. This support is currently experimental, and must be \
enabled with the -std=c++11 or -std=gnu++11 compiler options.
g++ doesn't use C++11 by default until GCC 5.x. https://gcc.gnu.org/gcc-5/changes.html
Add the commmand-line argument -std=c++11
...or, update your compiler. That's probably the better option here.