我从git上获取到最新的Cocos-2.1目录下的代码,替换了v3.3final下的文件,把新增加的文件也引入到项目中,运行了下tolua下面的genbindings.py文件,成功生成了lua绑定文件;打开ccs2.1.0.0,重新发布了项目,运行的时候提示版本不匹配的错误,请问这个bug要怎么解决呢?
LUA ERROR: ASSERT FAILED ON LUA EXECUTE: The reader build id of your Cocos exported file(\360\356\377\377$) and the reader build id in your Cocos2d-x(2.1.0.0) are not match.
Please get the correct reader(build id \360\356\377\377$)from http://www.cocos2d-x.org/filedown/cocos-reader and replace it in your Cocos2d-x
stack traceback:
: in function ‘createNode’
?
in function ‘_create’
?:311: in function <?:310>
(tail call): ?
?:311: in function ‘new’
?:137: in function ‘showLogin’
?:131: in function ‘onEnter’
?:141: in function 'listener’
?:394: in function ‘EventDispatcher’
?:236: in function <?:235>
有一处编译不通过,我把最后的flags参数去掉就好了,不知道会不会影响?
in function ‘_create’