Can't install cocos2d-x for Mac


Hi, I’m trying to install cocos2d-x on my Mac but following the guidelines I’ve found on the 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:

$ ./ -p MyGame -k com.MyCompany.AwesomeGame -l cpp

and I got the error “no such file or directory” for

then I tried:

python -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:

./ -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 (“”) doesn’t exist in the unzipped cocos2d-x-2.2 version


finally I’ve found a solution reading here:

thanks anyway