-
Notifications
You must be signed in to change notification settings - Fork 51
Description
I use Windows 8.1 and Visual C++ 2015. Everithing works fine with Lua v.5.1.5.
I built LuaCOM for Lua v.5.3.5 in the same way, but using macro NLUA51. Everything comiled and linked successfully. But after require ("luacom") I got the message
[string "luacom5.lua"]:9: assertion failed!
This message is issued by the file luacom5.loh invoked in the function luacom_open in the file luacom.cpp.
I converted luacom5.lua to luacom5.loh using program bin2c.lua.
The LuaCOM distribute is downloaded from https://github.com/davidm/luacom
Does anyone know how to build correct luacom.dll 64 bit or where it can be downloaded from?
Compiling src\library*.cpp: cl /c /W4 /EHsc @all-5.3.5-64.rsp
File all-5.3.5-64.rsp:
/D_CRT_SECURE_NO_WARNINGS
/DNLUA51
/ID:\BAT\Lua\5.3.5-64\include
/ID:\BAT\Lua\LuaCOM\5.3.5-64\include
/ID:\BAT\Lua\LuaCOM\5.3.5-64\src\library
LuaAux.cpp
luabeans.cpp
luacom.cpp
LuaCompat.cpp
tCOMUtil.cpp
tLuaCOM.cpp
tLuaCOMClassFactory.cpp
tLuaCOMConnPoints.cpp
tLuaCOMEnumerator.cpp
tLuaCOMException.cpp
tLuaCOMTypeHandler.cpp
tLuaControl.cpp
tLuaDispatch.cpp
tLuaObject.cpp
tLuaObjList.cpp
tLuaTLB.cpp
tLuaVector.cpp
tStringBuffer.cpp
tUtil.cpp
Compiling and linking src\dll\luacom_dll.cpp: cl /W4 /EHsc luacom_dll.cpp @lnk.rsp
File lnk.rsp:
/D_CRT_SECURE_NO_WARNINGS
/DNLUA51
/ID:\BAT\Lua\5.3.5-64\include
/ID:\BAT\Lua\LuaCOM\5.3.5-64\include
/ID:\BAT\Lua\LuaCOM\5.3.5-64\src\library
/LD
/Fe:luacom.dll
luacom_dll.def
LuaAux.obj
luabeans.obj
luacom.obj
LuaCompat.obj
tCOMUtil.obj
tLuaCOM.obj
tLuaCOMClassFactory.obj
tLuaCOMConnPoints.obj
tLuaCOMEnumerator.obj
tLuaCOMException.obj
tLuaCOMTypeHandler.obj
tLuaControl.obj
tLuaDispatch.obj
tLuaObject.obj
tLuaObjList.obj
tLuaTLB.obj
tLuaVector.obj
tStringBuffer.obj
tUtil.obj
user32.lib
advapi32.lib
oleaut32.lib
ole32.lib
htmlhelp.lib
shlwapi.lib
gdi32.lib
lua53.lib
/link /LIBPATH:D:\BAT\Lua\LuaCOM\5.3.5-64\src\library
/link /LIBPATH:D:\BAT\Lua\5.3.5-64
/link /LIBPATH:D:\BAT\Lua\5.3.5-64\clibs
/link /machine:x64
File luacom_dll.def:
EXPORTS
luaopen_luacom
luacom_openlib
DllGetClassObject PRIVATE