lua-users home
lua-l archive

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


Hi,

Le Jeudi 10 septembre 2015 10h39, Ervin Hegedüs <airween@gmail.com> 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 https://github.com/destroyedlolo/Marcel as example).

Best regards,

Laurent