I am trying to get Cocos2d-x up and running on my PC. I am using Visual Studio 2010 Express on Windows 7 64bit.
So I first tried to follow the instructions on the wiki —> [[http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Cocos2d-x_Application_Wizard_for_Visual_Studio_User_Guide]]
Sure enough the batch file came back with errors. After updating my PATH environment variables for msbuild and xcopy I came up with more errors. Then I found this recent thread —> http://www.cocos2d-x.org/boards/6/topics/30007?r=30265#message-30265
I followed the advice given in the last post and removed the CocosDragonJS and WaterMelonWithMe projects from the solution and tried again. Still doesn’t work. So I thought maybe I needed to remove the CocosDragonJS and WaterMelonWithMe relevant code from the batch file. I did so and still no dice. The attached screenshot shows the output of the batch file.
When I build the solution in visual studio I don’t have any problems. I can run the HelloCpp and HelloLua projects (from VS) but nothing else works all of the other projects complain saying:
Unable to start program: .2d-x-2.1.4\Debug.win32projectname].dll
Not really sure whats up with that either.
Finally, I checked out the comments under the most recent news item: http://www.cocos2d-x.org/news/127#comments and saw that someone had posted a breif description of build issues on VS, and the answer is very cryptic (to me)
VS template has been deprecated. Please use `tools/project-creator` to create multi-platform project instead.
I opened up this folder but all it contains is a python script and a bunch of .json files. I don’t see anything else online referencing this folder or anything in it so I don’t really know if I am supposed to be doing anything there.
As you can probably tell I am new to cocos2d-x and I am not really getting what the end result of this is supposed to be. The wiki guide is talking about VS project templates. That does not really sound appealing to me. I would rather just use the libraries like any other api (e.g. BOOST, Allegro, box2d). I had no real trouble setting any of those up but I have found the setup of cocos2dx to be quite mystical. However I understand that 2.1.4 was just released this week so I understand there may still be issues.
I would appreciate any advice that anyone has to offer.
build errors.png (90.2 KB)