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

/Users/maxfong/Desktop/1/stdlib/waxClass.lua 的错误 #5

Open
pigpigdaddy opened this issue May 7, 2015 · 0 comments
Open

/Users/maxfong/Desktop/1/stdlib/waxClass.lua 的错误 #5

pigpigdaddy opened this issue May 7, 2015 · 0 comments

Comments

@pigpigdaddy
Copy link

hi maxfong

我把你项目里的wax路径下的文件全部拷贝到我自己的demo中。模仿你的写法,试着运行了一下。报了:

Error opening wax scripts: /Users/maxfong/Desktop/1/stdlib/waxClass.lua:28: Can't override method with return type d

2015-05-07 11 27 24

这样的错误。

我发现是在我的项目中wax.m,139行:
if (luaL_dostring(L, appLoadString) != 0) {
fprintf(stderr,"Error opening wax scripts: %s\n", lua_tostring(L,-1));
}
是这里的问题。

请问,我哪里做错了呢?感激!

另:
是否是我的wax_stdlib_64.h需要重新生成?但是我使用你的wax_stdlib_x64项目的compile-stdlib.sh,却报了:hexdump:wax.dat:No such file or directory的错误。

2015-05-07 11 27 08

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

1 participant