ProgrammingGuide > Installations > Windows Phone 8 Installation and Setup

Windows Phone 8 Installation and Setup

version: Cocos2d-x v3.x
update: Updated 17 days ago

Environmental Requirements

Prerequisite

  • Download Cocos2d-x and unzip it. (maybe: ~/)

Compile and Run the TestCpp Project

  • Open cocos2d-wp8.vc2012.sln in the build folder

  • Right click the cpp-tests project, and select Set as StartUp Project.

  • Select Emulator or a Device to run the project on. If you sect Device you need to connect your phone device using usb. Compile and run the TestCpp project.

How to debug in project

  • Right click cpp-tests, select Properties, in Debug, select debug target.

  • If you select Managed Only in UI Task, it's to debug c# code in cpp-tests. If you select Native Only, it's to debug c++ code in cpp-testsComponent. If you select Native Only and want to use CCLog function, right click cpp-testsComponent and define COCOS2D_DEBUG=1 in Preprocessor Definitions

6.png (103.7 kB) walzer@cocos2d-x.org, 2014-12-03 04:54

1.png (18.4 kB) walzer@cocos2d-x.org, 2014-12-03 04:54

2.png (12.3 kB) walzer@cocos2d-x.org, 2014-12-03 04:54

3.png (11.7 kB) walzer@cocos2d-x.org, 2014-12-03 04:54

4.png (32.8 kB) walzer@cocos2d-x.org, 2014-12-03 04:54

5.png (75.7 kB) walzer@cocos2d-x.org, 2014-12-03 04:54

Copyright © 2010 - 2014 Cocos2d-x.org Support Email: support@cocos.org