lua-users home
lua-l archive

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


On Sat, May 5, 2018 at 5:18 PM, Avinash D'Silva
<avinash.roshan.dsilva@gmail.com> wrote:

>  gcc  -o lui.so  -shared  -framework Foundation -framework AppKit
> -fPIC -Isrc src/lui.c -I ../lua-src  -I ../libui  -L . -llua -lui
...
> lua: multiple Lua VMs detected
> stack traceback:

Don't use -llua when linking lui.so (The Lua interpreter already has
lua linked in so the module doesn't need it.)

 - Jeff