[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Question about embedded Lua and accessibility of libaries
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 1 Jun 2011 11:57:28 +0200
On Wed, Jun 1, 2011 at 11:51 AM, Shmuel Zeigerman <email@example.com> wrote:
> It works for me but I wonder if it just by chance. For example, if a script
> require()'s 'mylib' and mylib.dll was built with the dependency on
> lua5.1.dll, then how exporting Lua symbols by SciTE helps?
That is one of those things that can end in tears ;) Especially if
SciTE and lua5.1.dll were linked against different runtimes. For Lua
for Windows, we factored out SciTE's Lua so that it also used
Otherwise you would have to compile the module against SciTE itself to be sure.
This kind of thing tends to be easier on Unix, where a Lua module
isn't looking for a _particular_ named library for the symbols.