Not matching function for call to "strcmd" with CCB cocos2d-x

122 views Asked by At

I got a error, I don't know why?

cocos2d::SEL_MenuHandler StartScene::onResolveCCBCCMenuItemSelector(CCObject * pTarget, cocos2d::CCString * pSelectorName)
{
CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "gotoPlay", StartScene::gotoPlay);

return NULL;
}

Error at CCB_SELECTOR...: Not matching function for call to "strcmd".

I use the right macro CCB_SELECTOR..., all params are ok.

Can I get any help. Many thanks.

0

There are 0 answers