Vistual Studio: First steps

Goals Compile and run cocos2d-x tests on the emulator Set a breakpoint in Visual Studio. Running cpp-test on the Emulator 1. Download cocos2d-x v3.0 2. Unzip it and then go to cocos2d-x/build directory $ cd cocos2d-x/build 3. Open cocos2d-wp8.vc2012.sln with Visual Studio $ start cocos2d-wp8.vc2012.sln 4. Set cpp-tests (Windows Phone Silverlight 8) as the default project: Go to the Solution Explorer Right click on cpp-tests (Windows Phone Silverlight 8) Click on Set as StartUp Project 5. Run cpp-tests on the Emulator Press the Emulator 8.1 WVGA 4 inch button If an Hyper-V error appears, then you have to enable Hyper-V: Enable Hyper-V on the BIOS And then enable Hyper-V on Windows 8.1 Pro (it won’t work on the ‘Regular’ edition). 6. If the following Dialog pops-up, just press Retry: And that’s all. You should see the cpp-tests running on the Emulator:

April 11, 2014 · 2 min · ricardoquesada