Yeah, I downloaded a 32bit version of LÖVE and it seems to be working fine now, thanks .
Search found 2 matches
- Sun Mar 10, 2019 12:32 pm
- Forum: General
- Topic: LuaJIT's FFI not working?
- Replies: 3
- Views: 4947
- Sun Mar 10, 2019 2:16 am
- Forum: General
- Topic: LuaJIT's FFI not working?
- Replies: 3
- Views: 4947
LuaJIT's FFI not working?
I'm using ZeroBrane as an IDE. When I select Lua as the interpreter, then hit execute on the file main.lua : os.execute([[gcc -shared -fPIC -o libtest.so test.c]]) local ffi = require"ffi" local ltest = ffi.load"./libtest.so" ffi.cdef[[ int ret(); ]] print(ltest.ret()) where test...