【求助】cocos2dx 3.2自定义类导出到lua,启动游戏报错

按照 http://www.cocos2d-x.org/docs/manual/framework/native/wiki/how-to-use-bindings-generator/zh 这个教程导出自定义类到lua后启动游戏,会出下面的报错

cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocos2dClass.luac. Possible missing file.
cocos2d:


CCProgressTo was deprecated please use cc.ProgressTo instead.


cocos2d:


CCHide was deprecated please use cc.Hide instead.


cocos2d:


CCTransitionMoveInB was deprecated please use cc.TransitionMoveInB instead.


cocos2d:


CCEaseSineIn was deprecated please use cc.EaseSineIn instead.


cocos2d:


CCTransitionMoveInL was deprecated please use cc.TransitionMoveInL instead.


cocos2d:


CCEaseInOut was deprecated please use cc.EaseInOut instead.


cocos2d:


CCTransitionMoveInT was deprecated please use cc.TransitionMoveInT instead.


cocos2d:


CCTransitionMoveInR was deprecated please use cc.TransitionMoveInR instead.


cocos2d:


CCParticleSnow was deprecated please use cc.ParticleSnow instead.


cocos2d:


CCActionCamera was deprecated please use cc.ActionCamera instead.


cocos2d:


CCProgressFromTo was deprecated please use cc.ProgressFromTo instead.


cocos2d:


CCMoveTo was deprecated please use cc.MoveTo instead.


cocos2d:


CCJumpBy was deprecated please use cc.JumpBy instead.


cocos2d:


CCObject was deprecated please use cc.Object instead.


cocos2d:


CCTransitionRotoZoom was deprecated please use cc.TransitionRotoZoom instead.


cocos2d:


CCDirector was deprecated please use cc.Director instead.


cocos2d:


CCScheduler was deprecated please use cc.Scheduler instead.


cocos2d:


CCEaseElasticOut was deprecated please use cc.EaseElasticOut instead.


cocos2d:


CCTableViewCell was deprecated please use cc.TableViewCell instead.


cocos2d:


CCEaseBackOut was deprecated please use cc.EaseBackOut instead.


cocos2d:


CCParticleSystemQuad was deprecated please use cc.ParticleSystemQuad instead.


cocos2d:


CCMenuItemToggle was deprecated please use cc.MenuItemToggle instead.


cocos2d:


CCStopGrid was deprecated please use cc.StopGrid instead.


cocos2d:


CCTransitionScene was deprecated please use cc.TransitionScene instead.


cocos2d:


CCSkewBy was deprecated please use cc.SkewBy instead.


cocos2d:


CCLayer was deprecated please use cc.Layer instead.


cocos2d:


CCEaseElastic was deprecated please use cc.EaseElastic instead.


cocos2d:


CCTMXTiledMap was deprecated please use cc.TMXTiledMap instead.


cocos2d:


CCGrid3DAction was deprecated please use cc.Grid3DAction instead.


cocos2d:


CCFadeIn was deprecated please use cc.FadeIn instead.


cocos2d:


CCNodeRGBA was deprecated please use cc.Node instead.


cocos2d:


cc.NodeRGBA was deprecated please use cc.Node instead.


cocos2d:


CCAnimationCache was deprecated please use cc.AnimationCache instead.


cocos2d:


CCFlipY3D was deprecated please use cc.FlipY3D instead.


cocos2d:


CCEaseSineInOut was deprecated please use cc.EaseSineInOut instead.


cocos2d:


CCTransitionFlipAngular was deprecated please use cc.TransitionFlipAngular instead.


cocos2d:


CCEaseElasticInOut was deprecated please use cc.EaseElasticInOut instead.


cocos2d:


CCEaseBounce was deprecated please use cc.EaseBounce instead.


cocos2d:


CCShow was deprecated please use cc.Show instead.


cocos2d:


CCFadeOut was deprecated please use cc.FadeOut instead.


cocos2d:


CCCallFunc was deprecated please use cc.CallFunc instead.


cocos2d:


CCWaves3D was deprecated please use cc.Waves3D instead.


cocos2d:


CCFlipX3D was deprecated please use cc.FlipX3D instead.


cocos2d:


CCParticleFireworks was deprecated please use cc.ParticleFireworks instead.


cocos2d:


CCMenuItemImage was deprecated please use cc.MenuItemImage instead.


cocos2d:


CCParticleFire was deprecated please use cc.ParticleFire instead.


cocos2d:


CCMenuItem was deprecated please use cc.MenuItem instead.


cocos2d:


CCActionEase was deprecated please use cc.ActionEase instead.


cocos2d:


CCTransitionSceneOriented was deprecated please use cc.TransitionSceneOriented instead.


cocos2d:


CCTransitionZoomFlipAngular was deprecated please use cc.TransitionZoomFlipAngular instead.


cocos2d:


CCEaseIn was deprecated please use cc.EaseIn instead.


cocos2d:


CCEaseExponentialInOut was deprecated please use cc.EaseExponentialInOut instead.


cocos2d:


CCTransitionFlipX was deprecated please use cc.TransitionFlipX instead.


cocos2d:


CCEaseExponentialOut was deprecated please use cc.EaseExponentialOut instead.


cocos2d:


CCLabel was deprecated please use cc.Label instead.


cocos2d:


CCApplication was deprecated please use cc.Application instead.


cocos2d:


CCDelayTime was deprecated please use cc.DelayTime instead.


cocos2d:


CCLabelAtlas was deprecated please use cc.LabelAtlas instead.


cocos2d:


CCLabelBMFont was deprecated please use cc.LabelBMFont instead.


cocos2d:


CCFadeOutTRTiles was deprecated please use cc.FadeOutTRTiles instead.


cocos2d:


CCEaseElasticIn was deprecated please use cc.EaseElasticIn instead.


cocos2d:


CCParticleSpiral was deprecated please use cc.ParticleSpiral instead.


cocos2d:


CCFiniteTimeAction was deprecated please use cc.FiniteTimeAction instead.


cocos2d:


CCFadeOutDownTiles was deprecated please use cc.FadeOutDownTiles instead.


cocos2d:


CCJumpTiles3D was deprecated please use cc.JumpTiles3D instead.


cocos2d:


CCEaseBackIn was deprecated please use cc.EaseBackIn instead.


cocos2d:


CCSpriteBatchNode was deprecated please use cc.SpriteBatchNode instead.


cocos2d:


CCParticleSystem was deprecated please use cc.ParticleSystem instead.


cocos2d:


CCActionTween was deprecated please use cc.ActionTween instead.


cocos2d:


CCTransitionFadeDown was deprecated please use cc.TransitionFadeDown instead.


cocos2d:


CCParticleSun was deprecated please use cc.ParticleSun instead.


cocos2d:


CCTransitionProgressHorizontal was deprecated please use cc.TransitionProgressHorizontal instead.


cocos2d:


CCRipple3D was deprecated please use cc.Ripple3D instead.


cocos2d:


CCTMXLayer was deprecated please use cc.TMXLayer instead.


cocos2d:


CCFlipX was deprecated please use cc.FlipX instead.


cocos2d:


CCFlipY was deprecated please use cc.FlipY instead.


cocos2d:


CCTransitionSplitCols was deprecated please use cc.TransitionSplitCols instead.


cocos2d:


CCTimer was deprecated please use cc.Timer instead.


cocos2d:


CCFadeTo was deprecated please use cc.FadeTo instead.


cocos2d:


CCRepeatForever was deprecated please use cc.RepeatForever instead.


cocos2d:


CCPlace was deprecated please use cc.Place instead.


cocos2d:


CCGLProgram was deprecated please use cc.GLProgram instead.


cocos2d:


CCEaseBounceOut was deprecated please use cc.EaseBounceOut instead.


cocos2d:


CCCardinalSplineBy was deprecated please use cc.CardinalSplineBy instead.


cocos2d:


CCSpriteFrameCache was deprecated please use cc.SpriteFrameCache instead.


cocos2d:


CCTransitionShrinkGrow was deprecated please use cc.TransitionShrinkGrow instead.


cocos2d:


CCSplitCols was deprecated please use cc.SplitCols instead.


cocos2d:


CCClippingNode was deprecated please use cc.ClippingNode instead.


cocos2d:


CCEaseBounceInOut was deprecated please use cc.EaseBounceInOut instead.


cocos2d:


CCLiquid was deprecated please use cc.Liquid instead.


cocos2d:


CCParticleFlower was deprecated please use cc.ParticleFlower instead.


cocos2d:


CCParticleSmoke was deprecated please use cc.ParticleSmoke instead.


cocos2d:


CCImage was deprecated please use cc.Image instead.


cocos2d:


CCTurnOffTiles was deprecated please use cc.TurnOffTiles instead.


cocos2d:


CCBlink was deprecated please use cc.Blink instead.


cocos2d:


CCShaderCache was deprecated please use cc.ShaderCache instead.


cocos2d:


CCJumpTo was deprecated please use cc.JumpTo instead.


cocos2d:


CCAtlasNode was deprecated please use cc.AtlasNode instead.


cocos2d:


CCTransitionJumpZoom was deprecated please use cc.TransitionJumpZoom instead.


cocos2d:


CCTransitionProgressVertical was deprecated please use cc.TransitionProgressVertical instead.


cocos2d:


CCAnimationFrame was deprecated please use cc.AnimationFrame instead.


cocos2d:


CCTintTo was deprecated please use cc.TintTo instead.


cocos2d:


CCTiledGrid3DAction was deprecated please use cc.TiledGrid3DAction instead.


cocos2d:


CCTMXTilesetInfo was deprecated please use cc.TMXTilesetInfo instead.


cocos2d:


CCTMXObjectGroup was deprecated please use cc.TMXObjectGroup instead.


cocos2d:


CCParticleGalaxy was deprecated please use cc.ParticleGalaxy instead.


cocos2d:


CCTwirl was deprecated please use cc.Twirl instead.


cocos2d:


CCMenuItemLabel was deprecated please use cc.MenuItemLabel instead.


cocos2d:


CCLayerColor was deprecated please use cc.LayerColor instead.


cocos2d:


CCFadeOutBLTiles was deprecated please use cc.FadeOutBLTiles instead.


cocos2d:


CCTransitionProgress was deprecated please use cc.TransitionProgress instead.


cocos2d:


CCEaseRateAction was deprecated please use cc.EaseRateAction instead.


cocos2d:


CCLayerGradient was deprecated please use cc.LayerGradient instead.


cocos2d:


CCMenuItemSprite was deprecated please use cc.MenuItemSprite instead.


cocos2d:


CCNode was deprecated please use cc.Node instead.


cocos2d:


CCToggleVisibility was deprecated please use cc.ToggleVisibility instead.


cocos2d:


CCRepeat was deprecated please use cc.Repeat instead.


cocos2d:


CCRenderTexture was deprecated please use cc.RenderTexture instead.


cocos2d:


CCTransitionFlipY was deprecated please use cc.TransitionFlipY instead.


cocos2d:


CCLayerMultiplex was deprecated please use cc.LayerMultiplex instead.


cocos2d:


CCTMXLayerInfo was deprecated please use cc.TMXLayerInfo instead.


cocos2d:


CCEaseBackInOut was deprecated please use cc.EaseBackInOut instead.


cocos2d:


CCActionInstant was deprecated please use cc.ActionInstant instead.


cocos2d:


CCTargetedAction was deprecated please use cc.TargetedAction instead.


cocos2d:


CCDrawNode was deprecated please use cc.DrawNode instead.


cocos2d:


CCTransitionTurnOffTiles was deprecated please use cc.TransitionTurnOffTiles instead.


cocos2d:


CCRotateTo was deprecated please use cc.RotateTo instead.


cocos2d:


CCTransitionSplitRows was deprecated please use cc.TransitionSplitRows instead.


cocos2d:


CCTransitionProgressRadialCCW was deprecated please use cc.TransitionProgressRadialCCW instead.


cocos2d:


CCScaleTo was deprecated please use cc.ScaleTo instead.


cocos2d:


CCTransitionPageTurn was deprecated please use cc.TransitionPageTurn instead.


cocos2d:


CCParticleExplosion was deprecated please use cc.ParticleExplosion instead.


cocos2d:


CCMenu was deprecated please use cc.Menu instead.


cocos2d:


CCTexture2D was deprecated please use cc.Texture2D instead.


cocos2d:


CCActionManager was deprecated please use cc.ActionManager instead.


cocos2d:


CCParticleBatchNode was deprecated please use cc.ParticleBatchNode instead.


cocos2d:


CCTransitionZoomFlipX was deprecated please use cc.TransitionZoomFlipX instead.


cocos2d:


CCScaleBy was deprecated please use cc.ScaleBy instead.


cocos2d:


CCTileMapAtlas was deprecated please use cc.TileMapAtlas instead.


cocos2d:


CCAction was deprecated please use cc.Action instead.


cocos2d:


CCLens3D was deprecated please use cc.Lens3D instead.


cocos2d:


CCAnimation was deprecated please use cc.Animation instead.


cocos2d:


CCTransitionSlideInT was deprecated please use cc.TransitionSlideInT instead.


cocos2d:


CCSpawn was deprecated please use cc.Spawn instead.


cocos2d:


CCSet was deprecated please use cc.Set instead.


cocos2d:


CCShakyTiles3D was deprecated please use cc.ShakyTiles3D instead.


cocos2d:


CCPageTurn3D was deprecated please use cc.PageTurn3D instead.


cocos2d:


CCGrid3D was deprecated please use cc.Grid3D instead.


cocos2d:


CCTransitionProgressInOut was deprecated please use cc.TransitionProgressInOut instead.


cocos2d:


CCTransitionFadeBL was deprecated please use cc.TransitionFadeBL instead.


cocos2d:


CCCamera was deprecated please use cc.Camera instead.


cocos2d:


CCLayerRGBA was deprecated please use cc.Layer instead.


cocos2d:


cc.LayerRGBA was deprecated please use cc.Layer instead.


cocos2d:


CCBezierTo was deprecated please use cc.BezierTo instead.


cocos2d:


CCFollow was deprecated please use cc.Follow instead.


cocos2d:


CCTintBy was deprecated please use cc.TintBy instead.


cocos2d:


CCActionInterval was deprecated please use cc.ActionInterval instead.


cocos2d:


CCAnimate was deprecated please use cc.Animate instead.


cocos2d:


CCProgressTimer was deprecated please use cc.ProgressTimer instead.


cocos2d:


CCParticleMeteor was deprecated please use cc.ParticleMeteor instead.


cocos2d:


CCTransitionFadeTR was deprecated please use cc.TransitionFadeTR instead.


cocos2d:


CCCatmullRomTo was deprecated please use cc.CatmullRomTo instead.


cocos2d:


CCTransitionZoomFlipY was deprecated please use cc.TransitionZoomFlipY instead.


cocos2d:


CCTransitionCrossFade was deprecated please use cc.TransitionCrossFade instead.


cocos2d:


CCGridBase was deprecated please use cc.GridBase instead.


cocos2d:


CCSkewTo was deprecated please use cc.SkewTo instead.


cocos2d:


CCCardinalSplineTo was deprecated please use cc.CardinalSplineTo instead.


cocos2d:


CCTMXMapInfo was deprecated please use cc.TMXMapInfo instead.


cocos2d:


CCEaseExponentialIn was deprecated please use cc.EaseExponentialIn instead.


cocos2d:


CCReuseGrid was deprecated please use cc.ReuseGrid instead.


cocos2d:


CCMenuItemAtlasFont was deprecated please use cc.MenuItemAtlasFont instead.


cocos2d:


CCSpriteFrame was deprecated please use cc.SpriteFrame instead.


cocos2d:


CCSplitRows was deprecated please use cc.SplitRows instead.


cocos2d:


CCSprite was deprecated please use cc.Sprite instead.


cocos2d:


CCOrbitCamera was deprecated please use cc.OrbitCamera instead.


cocos2d:


CCUserDefault was deprecated please use cc.UserDefault instead.


cocos2d:


CCFadeOutUpTiles was deprecated please use cc.FadeOutUpTiles instead.


cocos2d:


CCParticleRain was deprecated please use cc.ParticleRain instead.


cocos2d:


CCWaves was deprecated please use cc.Waves instead.


cocos2d:


CCEaseOut was deprecated please use cc.EaseOut instead.


cocos2d:


CCEaseBounceIn was deprecated please use cc.EaseBounceIn instead.


cocos2d:


CCMenuItemFont was deprecated please use cc.MenuItemFont instead.


cocos2d:


CCEaseSineOut was deprecated please use cc.EaseSineOut instead.


cocos2d:


CCTextureCache was deprecated please use cc.TextureCache instead.


cocos2d:


CCTiledGrid3D was deprecated please use cc.TiledGrid3D instead.


cocos2d:


CCRemoveSelf was deprecated please use cc.RemoveSelf instead.


cocos2d:


CCLabelTTF was deprecated please use cc.LabelTTF instead.


cocos2d:


CCTouch was deprecated please use cc.Touch instead.


cocos2d:


CCMoveBy was deprecated please use cc.MoveBy instead.


cocos2d:


CCMotionStreak was deprecated please use cc.MotionStreak instead.


cocos2d:


CCRotateBy was deprecated please use cc.RotateBy instead.


cocos2d:


CCFileUtils was deprecated please use cc.FileUtils instead.


cocos2d:


CCBezierBy was deprecated please use cc.BezierBy instead.


cocos2d:


CCTransitionFade was deprecated please use cc.TransitionFade instead.


cocos2d:


CCTransitionProgressOutIn was deprecated please use cc.TransitionProgressOutIn instead.


cocos2d:


CCCatmullRomBy was deprecated please use cc.CatmullRomBy instead.


cocos2d:


CCGridAction was deprecated please use cc.GridAction instead.


cocos2d:


CCShaky3D was deprecated please use cc.Shaky3D instead.


cocos2d:


CCTransitionEaseScene was deprecated please use cc.TransitionEaseScene instead.


cocos2d:


CCSequence was deprecated please use cc.Sequence instead.


cocos2d:


CCTransitionFadeUp was deprecated please use cc.TransitionFadeUp instead.


cocos2d:


CCTransitionProgressRadialCW was deprecated please use cc.TransitionProgressRadialCW instead.


cocos2d:


CCShuffleTiles was deprecated please use cc.ShuffleTiles instead.


cocos2d:


CCTransitionSlideInR was deprecated please use cc.TransitionSlideInR instead.


cocos2d:


CCScene was deprecated please use cc.Scene instead.


cocos2d:


CCParallaxNode was deprecated please use cc.ParallaxNode instead.


cocos2d:


CCTransitionSlideInL was deprecated please use cc.TransitionSlideInL instead.


cocos2d:


CCWavesTiles3D was deprecated please use cc.WavesTiles3D instead.


cocos2d:


CCTransitionSlideInB was deprecated please use cc.TransitionSlideInB instead.


cocos2d:


CCSpeed was deprecated please use cc.Speed instead.


cocos2d:


CCShatteredTiles3D was deprecated please use cc.ShatteredTiles3D instead.


cocos2d:


CCCallFuncN was deprecated please use cc.CallFunc instead.


cocos2d:


CCEGLViewProtocol was deprecated please use cc.GLViewProtocol instead.


cocos2d:


CCEGLView was deprecated please use cc.GLView instead.


cocos2d:


XMLHttpRequest was deprecated please use cc.XMLHttpRequest instead.


cocos2d:


cc.EGLViewProtocol was deprecated please use cc.GLViewProtocol instead.


cocos2d:


cc.EGLView was deprecated please use cc.GLView instead.


cocos2d:


cc.EGLView was deprecated please use cc.GLView instead.


cocos2d: table
cocos2d:


cc.ShaderCache was deprecated please use cc.GLProgramCache instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocos2dEnum.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Cocos2dConstants.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at OpenglConstants.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocos2dFunc.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at Cocos2d.luac. Possible missing file.
cocos2d:


CCDrawPrimitives was deprecated please use cc.DrawPrimitives instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocosDenshionClass.luac. Possible missing file.
cocos2d:


SimpleAudioEngine was deprecated please use cc.SimpleAudioEngine instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocosDenshionFunc.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedNetworkClass.luac. Possible missing file.
cocos2d:


WebSocket was deprecated please use cc.WebSocket instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedNetworkEnum.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedNetworkFunc.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocosBuilderClass.luac. Possible missing file.
cocos2d:


CCBReader was deprecated please use cc.BReader instead.


cocos2d:


CCBAnimationManager was deprecated please use cc.BAnimationManager instead.


cocos2d:


CCBProxy was deprecated please use cc.CCBProxy instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocoStudioClass.luac. Possible missing file.
cocos2d:


CCArmature was deprecated please use ccs.Armature instead.


cocos2d:


CCArmatureAnimation was deprecated please use ccs.ArmatureAnimation instead.


cocos2d:


CCSkin was deprecated please use ccs.Skin instead.


cocos2d:


CCBone was deprecated please use ccs.Bone instead.


cocos2d:


CCArmatureDataManager was deprecated please use ccs.ArmatureDataManager instead.


cocos2d:


CCBatchNode was deprecated please use ccs.BatchNode instead.


cocos2d:


CCTween was deprecated please use ccs.Tween instead.


cocos2d:


CCBaseData was deprecated please use ccs.BaseData instead.


cocos2d:


CCDisplayManager was deprecated please use ccs.DisplayManager instead.


cocos2d:


UIHelper was deprecated please use ccs.UIHelper instead.


cocos2d:


UILayout was deprecated please use ccs.UILayout instead.


cocos2d:


UIWidget was deprecated please use ccs.UIWidget instead.


cocos2d:


UILayer was deprecated please use ccs.UILayer instead.


cocos2d:


UIButton was deprecated please use ccs.UIButton instead.


cocos2d:


UICheckBox was deprecated please use ccs.UICheckBox instead.


cocos2d:


UIImageView was deprecated please use ccs.UIImageView instead.


cocos2d:


UILabel was deprecated please use ccs.UILabel instead.


cocos2d:


UILabelAtlas was deprecated please use ccs.UILabelAtlas instead.


cocos2d:


UILabelBMFont was deprecated please use ccs.UILabelBMFont instead.


cocos2d:


UILoadingBar was deprecated please use ccs.UILoadingBar instead.


cocos2d:


UISlider was deprecated please use ccs.UISlider instead.


cocos2d:


UITextField was deprecated please use ccs.UITextField instead.


cocos2d:


UIScrollView was deprecated please use ccs.UIScrollView instead.


cocos2d:


UIPageView was deprecated please use ccs.UIPageView instead.


cocos2d:


UIListView was deprecated please use ccs.UIListView instead.


cocos2d:


UILayoutParameter was deprecated please use ccs.UILayoutParameter instead.


cocos2d:


UILinearLayoutParameter was deprecated please use ccs.UILinearLayoutParameter instead.


cocos2d:


UIRelativeLayoutParameter was deprecated please use ccs.UIRelativeLayoutParameter instead.


cocos2d:


CCComController was deprecated please use ccs.ComController instead.


cocos2d:


CCComAudio was deprecated please use ccs.ComAudio instead.


cocos2d:


CCComAttribute was deprecated please use ccs.ComAttribute instead.


cocos2d:


CCComRender was deprecated please use ccs.ComRender instead.


cocos2d:


ActionManager was deprecated please use ccs.ActionManagerEx instead.


cocos2d:


SceneReader was deprecated please use ccs.SceneReader instead.


cocos2d:


GUIReader was deprecated please use ccs.GUIReader instead.


cocos2d:


UIRootWidget was deprecated please use ccs.UIRootWidget instead.


cocos2d:


ActionObject was deprecated please use ccs.ActionObject instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedCocoStudioFunc.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedUIEnum.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at GuiConstants.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedUIFunc.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedExtensionClass.luac. Possible missing file.
cocos2d:


CCControl was deprecated please use cc.Control instead.


cocos2d:


CCEditBox was deprecated please use ccui.EditBox instead.


cocos2d:


cc.EditBox was deprecated please use ccui.EditBox instead.


cocos2d:


CCScrollView was deprecated please use cc.ScrollView instead.


cocos2d:


CCTableView was deprecated please use cc.TableView instead.


cocos2d:


CCControlPotentiometer was deprecated please use cc.ControlPotentiometer instead.


cocos2d:


CCControlStepper was deprecated please use cc.ControlStepper instead.


cocos2d:


CCControlHuePicker was deprecated please use cc.ControlHuePicker instead.


cocos2d:


CCControlSlider was deprecated please use cc.ControlSlider instead.


cocos2d:


CCControlSaturationBrightnessPicker was deprecated please use cc.ControlSaturationBrightnessPicker instead.


cocos2d:


CCControlSwitch was deprecated please use cc.ControlSwitch instead.


cocos2d:


CCControlButton was deprecated please use cc.ControlButton instead.


cocos2d:


CCScale9Sprite was deprecated please use ccui.Scale9Sprite instead.


cocos2d:


cc.Scale9Sprite was deprecated please use ccui.Scale9Sprite instead.


cocos2d:


CCControlColourPicker was deprecated please use cc.ControlColourPicker instead.


cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedExtensionEnum.luac. Possible missing file.
cocos2d: cocos2d: fullPathForFilename: No file found at DeprecatedExtensionFunc.luac. Possible missing file.
Error running command, return code: -11

有人遇到相同的问题了么?

在Cocos Code IDE那里看教程绑定遇到同样的问题了 :6:

同问,是不是引擎的版本不对

我也遇到了这个问题,后来发现好像是正常的log,不是错误吧,游戏能运行

我也想知道如何除掉这些警告,看到不爽

刚刚翻了一下源码:
在源码工程的cocos/scripting/lua-bindings/script目录下有这几个文件Deprecated.lua,DeprecatedClass.lua,DeprecatedEnum.lua,DrawPrimitives.lua
这些警告信息就是从这里打印出来的,这几个文件应该是为了兼容之前版本的类名称而加上来的,里面都有个deprecatedTip函数,用于打印此类信息


-- This is the DeprecatedClass

DeprecatedClass = {} or DeprecatedClass

--tip
local function deprecatedTip(old_name,new_name)
    print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end

--CCProgressTo class will be Deprecated,begin
function DeprecatedClass.CCProgressTo()
    deprecatedTip("CCProgressTo","cc.ProgressTo")
    return cc.ProgressTo
end
_G"CCProgressTo"] = DeprecatedClass.CCProgressTo()
--CCProgressTo class will be Deprecated,end

--CCHide class will be Deprecated,begin
function DeprecatedClass.CCHide()
    deprecatedTip("CCHide","cc.Hide")
    return cc.Hide
end
_G"CCHide"] = DeprecatedClass.CCHide()
--CCHide class will be Deprecated,end

。。。。。。

而这几个文件是在cocos/scripting/lua-bindings/manual/CCLuaEngine.cpp这里面的init初始化时调用的


bool LuaEngine::init(void)
{
    _stack = LuaStack::create();
    _stack->retain();
    executeScriptFile("DeprecatedEnum.lua");
    executeScriptFile("DeprecatedClass.lua");
    executeScriptFile("Deprecated.lua");
    return true;
}

我想,要去掉这类信息有两个方法:

  1. 如果你的程序是新版本开发的,不需要考虑与旧版本兼容的话,那么,可以直接注释掉CCLuaEngine.cpp里面的调用这几个脚本文件的语句。
  2. 否则的话,你可以将这几个文件里面的deprecatedTip函数的打印语句注释掉即可。

记过测试,哪些讨厌的信息不见了,以上两种方法均可以正常运行之前写好的程序。