cocos2d-x v3rc0 on Ubuntu

cocos2d-x v3rc0 on Ubuntu
0.0 0


I just downloaded cocos2d-x v.3 and followed the steps. When I compiled the first project (MyGame). I got errors like this.

cc1plus: error: unrecognized command line option ‘-std=c++11’

My OS is Ubuntu 12.04 (64 bit) and g++ ver 4.6.3
What should I do?



use -std=c++0x (note that 0 is a zero)

c++11 was crazy-talk back in 2011.


I have tried it, but c++0x don’t know the “final” keyword.