How to remove error created using cocos2d-x v2.2.3 (Language cpp) for windows phone? -


i'm trying run game created using cocos2d-x-v2.2.3 (language cpp) windows phone. shows following error.

error c2440: 'type cast' : cannot convert 'void (__cdecl startscene::* )(void)' 'cocos2d::extension::sel_cccontrolhandler'

if include pch.h file in class file above error removed new error created. error "cannot open include file: 'pch.h': no such file or directory"

though pch.h , pch.cpp presented in cocosdenshion. in circumstances should do? in advance

i think because use wrong function, fowllow (ccobject::sel_cccontrolhandler)(ccobject, cccontrolevent) func use must have func(ccobject*, cccontrolevent),


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -