cocos2d-x-3.0 compilation (Win7)

Source: Internet
Author: User

The first time to start the engine with the hand is very excited!!! Go to the chase.

Download Resources

1: Download from cocos2d-x official website, go to webpage http://www.cocos2d-x.org/download, click cocos2d-x below Download v3.0, save to your own defined directory

2: Download from the Python official website, enter the webpage https://www.python.org/downloads/, I am currently downloading is 3.4.0 (current latest version)

3: Download vs2012 more than the editor, (this chapter according to vs2013 to introduce) specific download, please Baidu Google is ok

4: Download CMake, go to webpage http://www.cmake.org/cmake/resources/software.html, next Win32 will be able

Installation Resources

1: Install vs2012, follow the online installation hack tutorial I will not repeat here.

2: Install Python, double-click the downloaded Python installation package, install Phthon to disk, place the Python directory in the environment variable path (remember the English semicolon), just set it to the main directory (Python first level directory).

3: Install CMake, with Python installation, set environment variables, the bin directory under the CMake directory (absolute directory) in the System environment variable path (remember to add English semicolon)

/** Modify the following fourth revision to fifth step, the test project of this step compiles some problems.

4: Next unzip the downloaded cocos2d-x-3.0 compressed package, then go to the build directory, double-click the Win32-msvc-2013-x86.bat file at this time the directory will automatically generate a win32-msvc-vs2013-x86 folder, If there are Cocos2dx.sln files, then congratulations, then you can compile cocos2d-x3.0 source code. Double-click to run the item, all_build the right mouse button, generate, compile well can instal right mouse button generation, ok,cocos2d-x-3.0 compile complete, open Cocos2d-x 3.0 journey.

/** *********************** */

5:build Directory has a Cocos2d-win32.vc2012.sln double-click, right mouse button in Cpp-tests, set as Startup Project, and then generate view effect (CTRL+F5)

-------------------------

-----------------

Ardun May 9, 2014.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.