The first time I started using the mobile game engine, I was very excited !!! Go to the topic.
Download Resources
1: download from the Cocos2D-x official website, enter the webpage http://www.cocos2d-x.org/download, click Download v3.0 under cocos2d-x, save to your own defined directory
2: Download the package from the python official website and go to the https://www.python.org/downloads/page. The current version is 3.4.0 (the latest version)
/** Comments on April 9, May 10, 2014. After Experiment verification, you can download version 2.7. When you create a project in MySQL 3.4, the command line will remind you to use python of version 2.7 */
3: Download the editor above vs2012 (This chapter describes vs2013). For more information, see Baidu Google.
4: Download cmake and go to the webpage http://www.cmake.org/cmake/resources/software.html. The next win32's address will be available.
Install Resources
1: Install vs2012. I will not repeat it here according to the online installation and cracking tutorial.
2: Install python. Double-click the downloaded python installation package, install phthon on the disk, and put the python directory in the environment variable Path (remember to add a semicolon ), you only need to set it to the main directory (the first level directory of python ).
3: Install cmake in the same way as python. When setting environment variables, place the bin directory (absolute directory) under the cmake directory in the Path of the system environment variable (remember to add a semicolon)
/** Modify Step 4 to Step 5. The test project compiled in this step may have some problems */
4: Next extract the downloaded cocos2d-x-3.0 package, and then enter the build directory, double-click the win32-msvc-2013-x86.bat file this directory will automatically generate a win32-msvc-vs2013-x86 folder, if there is Cocos2dx. sln file, so congratulations, next you can compile the cocos2d-x3.0 source code. Double-click to run the item, ALL_BUILD right-click, generate can, after compilation can INSTAL right-click to generate, OK, cocos2d-x-3.0 compilation is complete, open the cocos2d-x 3.0 tour.
/**************************/
5: There is a cocos2d-win32.vc2012.sln under the build Directory Double-click, right-click cpp-tests, set to start the project, and then generate view effect (ctrl + f5)
-------------------------
-----------------
Ardun May 9, 2014.
Reprinted please indicate this blog address http://blog.csdn.net/ardun_li/article/details/25425969thank you