I can't find the msvc template in cocos2d-x-2.1.4/template

Dear all,
In newest cocos2d-x version(2.1.4)
I can’t find the msvc template in cocos2d-x-2.1.4/template
Execute the install-templates-msvc.bat failed
What should I do? please help me

3ks….

plz use tools/project-creator instead.

James Chen wrote:

plz use tools/project-creator instead.

How to excute the win32.json ?
Execute the install-templates-msvc.bat failed

it’s BUG .!

James Chen wrote:

plz use tools/project-creator instead.

how to use this tool,if I must install python before use this?

yes
use: python create_project.py

yes
use: python create_project.py

I am currently in the same situation on windows 7. Python_create.py says that there is no json module. I tried installing simplejson and chaging the line “import json” to “import simplejson as json”. Then I started to get this error:
"
Traceback (most recent call last):
File “C:2d-x-2.1.4\cocos2d-x-2.1.4\tools\project-creator\create_project_
python3.py”, line 190, in
shutil.copytree(context[“src_project_path”], context[“dst_project_path”], Tr
ue)
File “C:32\lib\shutil.py”, line 195, in copytree
names = os.listdir(src)
WindowsError: [Error 3] The system cannot find the path specified: ‘…/…/template/multi-platform-cpp.*’"

pleae use Cygwin .

pleae use Cygwin .

How do I run the create_project.py from cygwin? If thats what you mean. Thank you.

  1. goto : http://www.cygwin.com/ and download setup.exe
  2. excute setup.exe and install basic cygwin system .
  3. excute setup.exe again ,and select install python model .
  4. you can found ‘Cygwin Terminal’ on your desktop ,run it,
  5. this application GUI like linux system.
  6. use ‘cd’ command in your cocos2d-x-2.1.4\tools\project-creatordirectory.
  7. excute ‘python create_project.py’ in cygwin system .
  8. you can find this script help Tips .

have fun .

sbin bash wrote:

  1. goto : http://www.cygwin.com/ and download setup.exe
  2. excute setup.exe and install basic cygwin system .
  3. excute setup.exe again ,and select install python model .
  4. you can found ‘Cygwin Terminal’ on your desktop ,run it,
  5. this application GUI like linux system.
  6. use ‘cd’ command in your cocos2d-x-2.1.4 oolsproject-creator directory.
  7. excute ‘python create_project.py’ in cygwin system .
  8. you can find this script help Tips .
    >
    have fun .

I just want to create cocos2d-x Wizard in vs2012.
Because I just coding for test in windows, and don’t want to download cygwin.
Is there other ways to solve this?
We just excute install-templates-msvc.bat in 2.1.3 version and success,
but failed in 2.1.4 version,Since can’t excute, Why not delete it?

ths.

cocos2d-x Wizard templates is removed in 2.1.4 version.
create_project.py can crate project directory.

You are the best! Knowing command line stuff goes a long way. Also, to execute the script you must go to the script directory. First you say “/cygdrive/c” then you say “cd folderName” to go through the folders. You can type the first few letters and press to auto complete. Once you are at the project-creator folder you say “python create_project.py project PROJECT_NAMEpackage PACKAGE_NAME -language PROGRAMING_LANGUAGE”. I also had to make sure that the project name had the format “com.xxxx.xxxx”. Thanks a million.

@Isaac Cespedes
I am sorry about it.

Because android/vs/xcode project can not create a cross-platform project, so we use this command to create a project that has the same folder structure as HelloCpp.
You are appreciated if you have any suggestions to improve the script.

@Minggo Zhang, it’s better to change the description for installtion to avoid misunderstanding: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Cocos2d-x_Application_Wizard_for_Visual_Studio_User_Guide. and under windows 7, it seems only python 2.7 works for me, python 3.3 will report some errors.