lua-users home
lua-l archive

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


> > > PANIC: unprotected error in call to Lua API (bad conversion number->int; must recompile Lua with proper settings)
> > So, I want to understand, what other reasons can cause this PANIC ?
> 
> The message comes from luaL_checkversion_:
> 
> http://www.lua.org/source/5.2/lauxlib.c.html#luaL_checkversion_

It usually means that Lua was compiled with inconsistent flags. Did
you try to compile Lua for an 'ansi' platform? ('make ansi' or
define the macro 'LUA_ANSI'.)

-- Roberto