Original Post
Hi everyone, I downloaded lua-5.1.1 source and compiled using VS2005. However trying to link the lua-compiler didn't work.
>link /out:luac.exe luac.obj print.obj lua51.lib
luac.obj : error LNK2019: unresolved external symbol _luaM_toobig referenced in function _combine
.
.
.
luac.exe : fatal error LNK1120: 7 unresolved externals lua.exe (the interpreter), and the library lua51.lib compiled and linked without problems. Compiled using cl /O2 /W3 /c /DLUA_BUILD_AS_DLL Is there something wrong with the way I compiled/linked it? Btw I got the lua-binaries but the lib-foldern only had the lib, not the .obj so my C/C++ code using lua-headers/lib doesn't compile/link. Is the .obj of a .lib necessary when compiling/linking? Thanks