lua-users home
lua-l archive

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


Le Jeudi 10 septembre 2015 10h39, Ervin Hegedüs <> a écrit :

>The output of "lua-config -include --libs" is this:
> -I/usr/include/lua50 -L/usr/include -llualib50 -llua50

It looks to me -L is wrong : libraries are in /usr/lib (or lib32 or lib63) but clearly not in /usr/include.

In my own code, running under Gentoo, I simply add '-llua' and everything is working fine (see as example).

Best regards,