lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


François-Xavier INGLESE wrote:
- ./Data/Scripts/Main.lua:1: attempt to call global 'require' (a nil value)

First line of my Main.lua is of course : require "a"

Should I deduce that the file "a.lua" is not found ? I tried to put it in several paths, though unsuccessfully.
seems that you forgot to register standard libraries. did you do "LuaL_openlibs()"?