Visual Studio 2012 express setup

Hey guys, I’ve looked just about everywhere and I have no clue how to set up and use cocos2d-x in visual studio 2012 express. Hoping someone can help me here. I’ve looked at many tutorials and they all seem to be missing steps such as http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Cocos2d-x_Application_Wizard_for_Visual_Studio_User_Guide?version=13#3、-Add-New-Application-Project (What goes between 3 and 4?).

The one which I found most useful was http://www.gamedevnoob.com/tutorials/hellococos-2/ but I still have a pretty big problem. On the next page, it says to open the cocos2d-win32.vc2012.sln file with msvs, and to build and run to ensure a proper installation. However when I do this, I get a message box telling me “Unable to start program”c:2d-x\Debug.win32\libchipmunk.lib".

I followed every step to the letter, so what am I doing wrong?

I followed the instructions here step by step and it runs perfectly inside Visual Studio Express 2012: http://paralaxer.com/cocos2d-x-project-setup/#comment-281

Try this setup (or paralaxer): https://github.com/sts2055/HelloCpp

  • open HelloCpp.sln in visual studio
  • Build your solution
  • copy the art assets under “Resources” to either “Debug.win32” or “Release.win32” (whatever you built) — do not place the assets in subfolders.
  • run the exe

Stefan Schmitt wrote:

Try this setup (or paralaxer): https://github.com/sts2055/HelloCpp

  • open HelloCpp.sln in visual studio
  • Build your solution
  • copy the art assets under “Resources” to either “Debug.win32” or “Release.win32” (whatever you built) — do not place the assets in subfolders.
  • run the exe

I cloned your repo and was able to open the project in VS Express Windows Desktop 2012. However, it won’t build; fails with several warnings:

  • cannot open input file ‘glew32.lib’
  • cannot open input file ‘libcocos2d.lib’
  • cannot open file ‘glew32.lib’

well if i understand you right , to create new project with latest stable build ( im using 2.1.5 )
you do :
1.cd to cocos2d-x-2.1.5\tools\project-creator
2.run the python script ( you can run create_project.py -help for the options)
3.then go to the cocos2d-x-2.1.5\projects dir and there you will find your template project created
4.from within visual studio 2012 load the VC project that located in you new project
proj.win32 directory .
5.compile and run .

is this solved you problem ?