lua-users home
lua-l archive

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


> I am trying to build lua52.dll, lua.exe and luac.exe on Windows (using
> MSVC).
> lua.exe build is ok.
> 
> But I got some link errors when building luac.exe.
>  * luaU_dump  (exported as LUAI_FUNC not LUA_API)
>  * luaP_opnames (exported as LUAI_DDEC -> extern)
>  * luaP_opmodes (exported as LUAI_DDEC -> extern)
> 
> Anyone else had this problem.

Link the Lua library statically into luac, that is, do not use the DLL.