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

Lua 5.2 compatibility #23

Closed
Kaixhin opened this issue May 11, 2016 · 0 comments
Closed

Lua 5.2 compatibility #23

Kaixhin opened this issue May 11, 2016 · 0 comments

Comments

@Kaixhin
Copy link

Kaixhin commented May 11, 2016

I get the following error when running luarocks install camera:

[100%] Building C object video4linux/CMakeFiles/v4l.dir/v4l.c.o
/tmp/luarocks_camera-1.1-0-8939/lua---camera/video4linux/v4l.c:644:30: error: array type has incomplete element type
 static const struct luaL_reg v4l [] = {
                              ^
make[2]: *** [video4linux/CMakeFiles/v4l.dir/v4l.c.o] Error 1

With a quick look it seems that this problem is due to Lua 5.2 missing luaL_reg.

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