I have built a project and followed the tutorials in cocos2dx.
But I meet a problem when I start to program with cocos2dx.
That is, I always get a strange close of program without any error message or log?
For example, when I change the code from tutorial :
CCSprite* pSprite = CCSprite::spriteWithFile(“HelloWorld.png”);
to :
CCSprite* pSprite = CCSprite::spriteWithFile(“map.png”);
It is wrong because I don’t add this picture to Resource folder
But I don’t receive any message telling me that there is no file called “map.png”
It just closed down everytime when I run this program……
How you guys debug with this???
Thank you
- Yu-Chih