cocos2dx Error at CC_CALLBACK_2 when build with release mode

  • Emirhan Yılmaz
    Likes 0

    Problem Description

    Hello guys! I I’m not getting an error and it’s working when I build with debug mode.But I getting error when I build with release mode. at this line squareButton->addTouchEventListener(CC_CALLBACK_2(MainScene::squareButtonTouched, this));
    How can I solve it?

  • Sonar Systems admin
    Likes 0

    Can you share the rest of your code.

Login to reply