Build Cocos2d-X development environment in windows Environment

Source: Internet
Author: User

Recently, I have finally had time to get started with my own things.

First of all, we must select the development framework, mobile terminal open-source game framework does not look much, to find this, the name of a simple Cocos2d-X, Cocos2d domestic branch, buy a book, after scanning, the Framework supports IOS and Android and should meet the requirements. Now let's get started!

In fact, Android development is better in linux, but I am too reluctant to install the image on a business trip. Use a ready-made Windows virtual machine, now let's take a simple record of the establishment process of the Cocos2d-X development environment and share it with everyone.

Step 1

Install windows... Install Oracle JDK... Install Eclipse... In addition, NK is omitted.

Step 2

Install CDT and Cygwin

CDT is C/C ++ Development Tooling,

Click Eclipse-help-marketplace, search for CDT, and install it.

Cygwin is a unix simulation environment running on a windows platform. You can download and install cygwin at http://www.cygwin.com/. you can search for it on the Internet.

Step 3

Install ADT, Android SDK, and NDK, which are required for Android development by Google.

You must note that it is best to install the package online, and then download and install the package quickly. Do not download the package offline, which is prone to problems. Remember!

Step 4

Of course, go to http://cocos2d.cocoachina.com/download the latest cocos2d-xinstallation package and decompress the installation! OK!

The above is a basic process, but if you can do it all at once, you should be lucky. But there will certainly be problems in the middle. Don't be afraid of any problems. Let's solve them together!

In the following time, I will occasionally record some FAQs to avoid detours. Thank you!

Related Article

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.