cocos2d-x下载地址:http://www.cocos2d-x.org/download

2.0之后的创建项目

1.  cd cocos2d-x-2.2.1/tools/project-creator/

2.  ./create_project.py -project HelloWorld -package com.example.HelloWorld -language cpp  

3.  在cocos2d-x-2.2.1/projects目录下会看到HelloWorld工程