9 years, 8 months ago.

mbed-gcc error

Hi,

I get the following error on ubuntu 12.04.5 when building helloyotta sample:

 CMake Error at /usr/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake:54 
 The C++ compiler "/usr/bin/c++" is not able to compile a simple test
 FAILED: /usr/bin/c++ -std=gnu++11 -o
 CMakeFiles/cmTC_4bd3b.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx
 cc1plus: error: unrecognized command line option "-std=gnu++11"
 ninja: build stopped: subcommand failed.

Regards,

issue solved by moving to ubuntu 14.04.4

posted by Boris St 15 Aug 2016
Be the first to answer this question.