lua-users home
lua-l archive

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


You could use LuaWinMulti to create a local working Lua install, incl. LuaRocks, and use that to install and generate the libs.

Just use it from the VS command shell and it should be using the proper toolchain.

See https://github.com/Tieske/luawinmulti


On 20 Mar 2019, at 16:57, Simon Orde <SimonOrde@family-historian.co.uk> wrote:

Hi - I have a Visual C++ application that supports Lua plugins using a wide variety of Lua DLLs.  The previous version of the program was written in Visual Studio 2010 and uses Lua 5.1.4.  The Lua DLLs all had to be versions that were built specifically for the 2010 version of the MSVC compiler.  This is because they had to be linked to the C runtime libraries that were specific to MSVC 2010.
 
I have now upgraded to Visual Studio 2017 which means that I need new compatible versions of all my Lua DLLs.  My program is still built 32-bit, so I need 32-bit DLLs.  Can anyone suggest where I can get these please?  I had a look at the LuaBinaries page on SourceForge and elsewhere, but cannot find a suitable source for the DLLs.
 
If possible, I would like DLLs that will not need to be replaced if I upgrade my compiler in the future.   Any advice on this issue would be appreciated too.
 
I presume that I will need to upgrade to Lua 5.3.5? 
 
The core Lua DLLs that I need are:
 
                CD (16 dlls)
                IM (16 dlls)
                IUP (29 dlls)
                LUA5.1.dll (or its equivalent for Lua 5.3.5)
                LUACOM.DLL
                LUAGL.DLL
                LFS.DLL
 
In addition I also need
 
                LUASQL(4 dlls - Kepler project)
                MD5 (2 dlls - Kepler project)
                SOCKET (2 dlls - LuaRocks)
                ZIP.DLL (LuaRocks)
 
All help very much appreciated. 
 
Simon