[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: New to Lua, a few big surprises and still struggling to compile/run my first experiment
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Sat, 5 May 2018 17:23:51 -0500
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