Skip to main content
gamedev.net
🔒 Locked

Problems installing lua 5.1.1

Started by havrige Aug 22, 2006 at 11:42 AM 0 replies 650+ views
Original Post
havrige
havrige
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
tHomahwk
tHomahwk
When I compiled it and got it working just a few weeks ago, I just made projects for each of them and then set it up that way. Didn't have any issues there, aside from making sure all of them were compiled the same (ie..the same compiler options, the same link options etc).

tHom

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.