> cc1plus: error: unrecognized command line option �-std=c++11�
> make[2]: *** [src/CMakeFiles/airspace.dir/Airspace.cpp.o] Error 1
> make[1]: *** [src/CMakeFiles/airspace.dir/all] Error 2
>
> Any help with this would be much appreciated.
It looks like your C++ compiler doesn't know the -std=c++11 option to
compile C++11 compliant code. Can you check what C++ compiler you are
using? Does the command
cc1plus -v
or
cc1plus --version
or something like that tell you your compiler name and version?
I'm using g++ 4.7.3 and this works fine:
mc303@maverick:~$ g++ --version | head -1
g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Can you check if you have this compiler installed? What does the output of
dpkg --list | grep g++
give you?
Kind regards,
Bart