mardi 30 mai 2017

CMakeLists for C++ library to use in source code

I include a header file from a library in my source file and get this following error my initial guess is there is something wrong in CMakeLists any suggestions please

/usr/include/c++/4.8/bits/c++0_warning.h:32:2: error: #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.

#error This file requires compiler and library support for the

make[2]: *** [CMakeFiles..] Error 1

make[1]: *** [CMakeFiles..] Error 2

make: *** [all] Error 2

Aucun commentaire:

Enregistrer un commentaire