Hello,
im relatively new to Lua but not programming in general (15+ years).
I am having a hard time to set up luarocks on windows so i can install packages with luarocks.
What i have done so far is downloading lua53 and the latest luarocks (3.3.1).
I've created a folder on the c drive with the following structure:
C:
----lua\
--------bin\
------------clibs\
------------lua53.dll
------------lua53.exe
--------lualibs\
--------luarocks\
------------luarocks.exe
------------luarocks-admin.exe
I've added "c:\lua\bin" and "c:\lua\luarocks" to PATH variable
I've created a "config-5.3.lua" at location "C:\Program Files\luarocks" and "C:\Users\Me\AppData\Roaming\luarocks\"
The content of both "config-5.3.lua" is:
Now when i want to install a package with luarocks i get the following Error:

What am i suppose to do with the LUA_LIBDIR?
I thought it is already set in "config-5.3.lua"?
Can someone help me?
im relatively new to Lua but not programming in general (15+ years).
I am having a hard time to set up luarocks on windows so i can install packages with luarocks.
What i have done so far is downloading lua53 and the latest luarocks (3.3.1).
I've created a folder on the c drive with the following structure:
C:
----lua\
--------bin\
------------clibs\
------------lua53.dll
------------lua53.exe
--------lualibs\
--------luarocks\
------------luarocks.exe
------------luarocks-admin.exe
I've added "c:\lua\bin" and "c:\lua\luarocks" to PATH variable
I've created a "config-5.3.lua" at location "C:\Program Files\luarocks" and "C:\Users\Me\AppData\Roaming\luarocks\"
The content of both "config-5.3.lua" is:
Lua:
variables = {
LUA_LIBDIR = "C:\\lua\\lualibs"
}
Now when i want to install a package with luarocks i get the following Error:

What am i suppose to do with the LUA_LIBDIR?
I thought it is already set in "config-5.3.lua"?
Can someone help me?