Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not work lua bind with cocos2dx #71

Open
yingnierxiao opened this issue May 27, 2014 · 8 comments
Open

not work lua bind with cocos2dx #71

yingnierxiao opened this issue May 27, 2014 · 8 comments

Comments

@yingnierxiao
Copy link

not work lua bind with cocos2dx

@splhack
Copy link
Contributor

splhack commented May 27, 2014

Could you explain more detail?

@yingnierxiao
Copy link
Author

./lua luna_gen.lua input.lua
Error! Syntax error: unknown property: customNewIndex in LWF.Movie

Callstack:
./mylib.lua:600:callstack
luna_gen.lua:266:lgerror
luna_gen.lua:908:buildDefinitionDB
input.lua:431:generate

Entering debugging console (typically typing c, c2, c3, c4, ... reveals more details)
[DEBUG0] >
[DEBUG0] > ^C^C

@splhack
Copy link
Contributor

splhack commented May 28, 2014

Why do you need to do it? Anyway it works well.

$ cd cplusplus/binding/lua
$ lua -v
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
$ lua ../../supports/luna-gen-tools/luna_gen.lua input.lua
generating lwf_luabinding.h
generating lwf_luabinding.cpp

@yingnierxiao
Copy link
Author

why not add LWFNode to the input.lua file ?

------------------ 原始邮件 ------------------
发件人: "Kazuki Sakamoto";[email protected];
发送时间: 2014年5月29日(星期四) 凌晨0:01
收件人: "gree/lwf"[email protected];
抄送: "yingnierxiao"[email protected];
主题: Re: [lwf] not work lua bind with cocos2dx (#71)

Why do you need to do it? Anyway it works well.
$ cd cplusplus/binding/lua $ lua -v Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio $ lua ../../supports/luna-gen-tools/luna_gen.lua input.lua generating lwf_luabinding.h generating lwf_luabinding.cpp

Reply to this email directly or view it on GitHub.

@splhack
Copy link
Contributor

splhack commented May 29, 2014

We don't have any plan to support LWFNode level JS/Lua binding.

@yingnierxiao
Copy link
Author

so much cocos2dx lua user

@splhack
Copy link
Contributor

splhack commented May 29, 2014

@splhack splhack closed this as completed May 29, 2014
@yingnierxiao
Copy link
Author

i had try,auto binding no super shared_ptr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants