maybe the most easy way to use third binary module, is to copy existed dlls from LuaRT-Studio to luart/bin folder
test lfs:
copy LuaRT-Studio\bin\clibs54\lfs.dll luaRT/bin
╭━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╮
│ QuickRT - Powerful REPL for LuaRT │
│ Copyright © 2023, Samir Tine │
╰━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╯
► require'lfs'
{
_VERSION = "LuaFileSystem 1.6.3",
attributes = function,
_DESCRIPTION = "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution",
rmdir = function,
touch = function,
symlinkattributes = function,
chdir = function,
mkdir = function,
unlock = function,
link = function,
lock = function,
currentdir = function,
setmode = function,
_COPYRIGHT = "Copyright (C) 2003-2012 Kepler Project",
lock_dir = function,
dir = function
} "D:/LuaRT-1.4.0-x64/luaRT/bin/lfs.dll"
►
► lfs.dir('.')
function ["pretty.lua"]:35: attempt to get length of a directory metatable value (local 'value')