lua-users home
lua-l archive

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


i need help on how to use lua 5.0 with vc++ 6 i was previuosly using lua 4.0 and it was working fine till some problems arised so i decided to try using 5.0 ...... the compiler gives following linker errors :
 
Compiling...
HCScript.cpp
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
HCScript.obj : error LNK2001: unresolved external symbol _lua_setglobal
HCScript.obj : error LNK2001: unresolved external symbol _lua_mathlibopen
HCScript.obj : error LNK2001: unresolved external symbol _lua_strlibopen
HCScript.obj : error LNK2001: unresolved external symbol _lua_iolibopen
HCScript.obj : error LNK2001: unresolved external symbol _lua_baselibopen
Error executing link.exe.
 
 
do i need to change code generation settings .... previously i was using multithreaded dll ..... i am using the binares provided in luabuild-5.0.gz that i got from the lua site .....


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search