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

Bindings lua language #30

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

mslacken
Copy link

Created binding for lua, also includes a small lua script to test the bindings.

@BenCasses
Copy link
Contributor

where's the lua script to test the bindings?

@mslacken
Copy link
Author

the lua test script is under
./src/extensions/lua/GendersTest/GendersTest.lua

@BenCasses
Copy link
Contributor

still not working for me, lua version 5.1.4. I'm getting:

/usr/bin/lua: error loading module 'genders' from file '/usr/lib64/lua/5.1/genders.so':
	/usr/lib64/lua/5.1/genders.so: undefined symbol: luaL_setfuncs
stack traceback:
	[C]: ?
	[C]: in function 'require'
	./src/extensions/lua/GendersTest/GendersTest.lua:5: in main chunk
	[C]: ?

@mslacken
Copy link
Author

The reason for the errors is lua5.1 as I developed against lua5.3. I will provide a version which runs against both version asap.

@mslacken
Copy link
Author

Unfortunately the bindings only work with lua 5.3. I have added a check for lua 5.3. Could you accept it, as soon as you have lua 5.3 available?

@BenCasses
Copy link
Contributor

understood

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

Successfully merging this pull request may close these issues.

2 participants