lua-users home
lua-l archive

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


On Tue, Jul 22, 2008 at 2:38 PM, Paul Moore <p.f.moore@gmail.com> wrote:
> I can see why there are multiple .lib files corresponding to different
> compilers, but it appears that the various Lua DLLs are linked with
> different versions of the MSVC runtime. Does this mean that extensions
> need to use the same CRT as well, so that an extension compatible with
> (say) lua5_1_3_Win32_dll9_lib.zip is not compatible with
> lua5_1_3_Win32_dll6_lib.zip?

Fraid so! In the good old days things would require msvcrt.dll, which
was part of Windows. Now each major release of the MS compilers comes
out with a new runtime.  The LuaBinaries standard is basically VS2005
(msvcrt80.dll), and most people seem to be building against that now.
But (alas) you then have to include that damned runtime...

steve d.