It is currently June 18th, 2024, 8:05 am

Install Lua libraries

Discuss the use of Lua in Script measures.
Posts: 1
Joined: April 5th, 2019, 9:28 pm

Install Lua libraries

Post by Masterval »

Hi everyone, I've been wondering if it's possible to install libraries for lua 5.1 and what is the procedure to install them for rainmeter?
User avatar
Posts: 22639
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Install Lua libraries

Post by jsmorley »

It is not possible to use compiled Lua libraries with the Rainmeter implementation of Lua. You can use external .lua files as a library, by simply calling it with dofile in the Initialize() function of your script, but you can't use compiled libraries or the require function.