#luarocks — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #luarocks, aggregated by home.social.
-
Today, I extracted my #Lua port of the Rough.js library into a standalone module and published it on #luarocks
It is a small graphics library that lets you draw lines, polygons and curves in a sketchy, hand-drawn-like, style.
I formerly used it in some of my 3rd-party packages for the #SILE typesetting system, but now having it as its own independent module might be interesting for other Lua developers, outside the SILE ecosystem.
-
#LuaRocks question - how can I use it with #LuaJIT?
$ luarocks --lua-version=5.1 install --local opencl
Installing https://luarocks.org/opencl-1.2.0-1.src.rockWarning: variable CFLAGS was not passed in build_variables
make[1]: Entering directory '/tmp/luarocks_opencl-1.2.0-1/lua-opencl/test'
/usr/bin/lua5.1 platform.lua
/usr/bin/lua5.1: ...opencl-1.2.0-1/lua-opencl/test/../opencl/C.lua:7: module 'ffi' not foundDo I need to reconfigure/reinstall luarocks, or can I make it work with both LuaJIT and Lua 5.1/5.4?