-
Notifications
You must be signed in to change notification settings - Fork 24
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
LuaJIT 2.0.3 vs Lua 5.2 #1
Comments
Hi kaos, Currently, lua-capnproto works only with LuaJIT 2.1. There are some 64 bit int issues with LuaJIT 2.0 and Lua 5.1, Lua 5.2. $sudo luarocks-5.1 install lua-cjson And then you should run tests. Could you please pull the lua-capnproto repository, I just fixed some issues. |
Ouch, that could be worth mentioning in the readme (that luajit should be >= 2.1). Even the comment in the rockspec is misleading regarding this (stating that luajit should be >= 2.0.0). Thanks for the additional information, though. I find the issue resolved with the provided answer. For now, I simply converted the output from |
Yes, I should have wrote something. I just submitted a commit 3fb4fb2 mentioning it in the readme file. |
serialization: add method to serialize without ffi.string conversion
Hi,
I see I have LuaJIT 2.0.3, which seems to be based on Lua 5.1.. while I have Lua 5.2 installed. So, luarocks installs libraries under a 5.2 path, while luajit fails to find them under a 5.1 one.. any hints on how to get around this?
(I just started looking at it, maybe it will work just messing with lib paths..?)
The text was updated successfully, but these errors were encountered: