Can't install cocos2d-x for Mac


#1

Hi, I’m trying to install cocos2d-x on my Mac but following the guidelines I’ve found on the cocos2d-x.org website and everything I’ve found on internet googling the problem I still can’t install it. I’ve the latest version of python installed.

basically I’ve downloaded the cocos2d-x-2.2.dmg file, with the terminal I move into the folder with cd cocos2d-x-2.2 and everything is fine, then I launch on the terminal:

$ ./create-multi-platform-projects.py -p MyGame -k com.MyCompany.AwesomeGame -l cpp

and I got the error “no such file or directory” for create-multi-platform-projects.py

then I tried:

python create-multi-platform-projects.py -p mygame -k com.your_company.mygame -l cpp

same error

then I tried to go into cocos2d-x-2.2\tools\project-creator and use:

./create_project.py -p MyGame -k com.MyCompany.MyGame -l cpp

but still the same error, any help? thanks

I also tried to install templates but this file (“install-templates-xcode.sh”) doesn’t exist in the unzipped cocos2d-x-2.2 version


#2

finally I’ve found a solution reading here: http://www.cocos2d-x.org/forums/21/topics/36419

thanks anyway