Well, that fixed it for me, guess your root cause is different.
>
Maybe take a look at the tolua*+ class inheritence documentation, see if you can find the issue: http://www.codenix.com/~tolua/tolua*+.html#classes
i write a new class CGuideIntroductionLayer derived from CCLayer.when i use it in lua, such as
>
local pLayer = CGuideIntroductionLayer:create();
……
……
myScene:addChild(pLayer);
>
then it comes the error:error in function ‘addChild’.argument #2 is ‘CGuideIntroductionLayer’; ‘CCNode’ expected.
>
hope someone could help me, Thanks a lot a lot!