I am trying to build Lua 5.4.6 with Visual Studio 2019 (and the appropriate VS solution/projects and whatnot).
For some reason I get a single linker error when building luac:
3>luac.obj : error LNK2019: unresolved external symbol _luaG_getfuncline referenced in function _PrintCode
3>E:\Boulot\anubis\Lua\Lua54\MSVC\_Output\LuaC\Win32\Debug\luac54.exe : fatal error LNK1120: 1 unresolved externals
luaG_getfuncline is actually present in lua54.dll, according to the generated map file:
Snippet
0002:000183a0 _luaG_getfuncline 100473a0 f ldebug.obj
I suspect that it isn't exported so that luac.exe can bind it.
So, is it "known" that luac should only link properly against a static library?
-- Benoit.