WINDOWS10, Cocos2dx+lua+sublime Text development environment Construction

Source: Internet
Author: User
Tags lua sublime text

Lou Zhu Technology Small white One, in the building COCOS2DX development environment, search on the internet a bunch of information and a lot of great God to share the article, and then do their own hands. Maybe the operating system, or the version of VS, found some wonderful problems, after the completion of construction, decided to write them down, hoping to help the future of their own and have the same confused friends.

Download and install Visual Studio, download and install the steps to search for tutorials directly on the web. I downloaded the vs2015, and I chose to install it all in order to avoid missing any features.

Second, under the official network of the latest LUA package, tutorials can refer to:

Https://jingyan.baidu.com/article/f7ff0bfc1cd72c2e26bb13aa.html

Three, (1) Download Python. Go to the Python official website, it will provide the following two versions, I use the cocos2d-x-3.15, if the use of COCOS2DX is not higher than this version, please be sure to download python2.7.13, or the subsequent configuration COCO2DX environment, will error. Direct click on the official website latest: The back of the Python2.7.13 can be. Download OK, install, click Next to install successfully. Once installed, add the path's installation paths to the system PATH environment variable and add them to the PATHEXT environment variable. PY;. PYM

(2). Verify that the Python installation configuration is successful, open cmd, direct input to Python, enter, the Python version number, that is, success,

Three, (1) Download COCOS2DX package, I download is cocos2d-x-3.1, unzip, enter Cocos2d-x-3.15\build directory, double-click Cocos2dx-win32.sln, with already installed vs Open, select Cpp_ Empty_test, right-click, select Set as Startup Project

Then click "Debug-" to Start (do not debug) ", if successful, will eventually appear,

(3), to this step, the COCOS2DX environment is set up, you can build a new project to try. Go to the Cocos2d-x-3.15\tools\cocos2d-console\bin directory, shift+ the right mouse button, and choose here to open the Command window, in the command window that appears, enter: Cocos new Hellocpp–p Com.coco2dx.org–l cpp–d ~/desktop, enter, the project was created successfully

Create new Project format: Cocos new project name –P package name –l cpp–d Path Enter is created successfully

WINDOWS10, Cocos2dx+lua+sublime Text development environment Construction

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.