lua-users home
lua-l archive

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


On Tue, 26 Apr 2016 07:57:57 -0300
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

> > lrexlib.c:164:14: error: unknown type name 'luaL_reg'
> 
> As a hack, you can start by adding this somwhere where it's globably seen:
> 	#define luaL_reg luaL_Reg
> Or perhaps add -DluaL_reg=luaL_Reg to the compilation command line.
> 
> If your Lua 5.2 has been compiled with 5.1 compatibility, this will probably
> suffice.
> 

Thank you for tip, but it doesn't work - there are still errors. I stayed with lua5.1.
-- 
<fixxer1982@gmail.com>