[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: RTC Problem
- From: "Sindharta Tanuwijaya" <sin001@...>
- Date: Fri, 20 Feb 2004 01:30:15 +0700
Aren't those files needed for Lua ? If I remove them,
I get this error messages.
main.obj : error LNK2001: unresolved external symbol _lua_close
main.obj : error LNK2001: unresolved external symbol _lua_dostring
main.obj : error LNK2001: unresolved external symbol _lua_dofile
main.obj : error LNK2001: unresolved external symbol _lua_settable
main.obj : error LNK2001: unresolved external symbol _lua_pushcclosure
main.obj : error LNK2001: unresolved external symbol _lua_pushstring
main.obj : error LNK2001: unresolved external symbol _luaopen_base
main.obj : error LNK2001: unresolved external symbol _lua_open
main.obj : error LNK2001: unresolved external symbol _lua_settop
main.obj : error LNK2001: unresolved external symbol _lua_tonumber
main.obj : error LNK2001: unresolved external symbol _lua_call
main.obj : error LNK2001: unresolved external symbol _lua_pushnumber
main.obj : error LNK2001: unresolved external symbol _lua_gettable
main.obj : error LNK2001: unresolved external symbol _lua_error
main.obj : error LNK2001: unresolved external symbol _lua_isnumber
main.obj : error LNK2001: unresolved external symbol _lua_gettop
main.obj : error LNK2001: unresolved external symbol _lua_tostring
But then again, perhaps I am wrong. How do we build lib files from Lua
source anyway ? It's my friend who gave me corelib.lib and
standardlib.lib.
Regards,
Sindharta
-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Mark Stroetzel
Glasberg
Sent: 20 Februari 2004 1:06
To: Lua list
Subject: Re: RTC Problem
Sindharta Tanuwijaya wrote:
> I use Visual C++ 6.0.
> I have the following code in my source :
> And the library modules as follows :
> kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
> advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
> odbccp32.lib corelib.lib standardlib.lib
> > corelib.lib(lundump.obj) : error LNK2001: unresolved external symbol
> > __RTC_CheckEsp
> > corelib.lib(lcode.obj) : error LNK2001: unresolved external symbol
> > __RTC_CheckEsp
> > standardlib.lib(lauxlib.obj) : error LNK2001: unresolved external
> > symbol __RTC_CheckEsp
> > standardlib.lib(lbaselib.obj) : error LNK2001: unresolved external
> > symbol __RTC_CheckEsp
Remove corelib.lib and standardlib.lib, those are not VC6 default lib
files (unless you need them for something else...)
Regards,
Mark
--
|\/|ark Stroetzel Glasberg
mark@tecgraf.puc-rio.br
PUC-Rio
URL: http://www.tecgraf.puc-rio.br/~mark
Tel: 55 21 2512-5984 ext. 116
Fax: 55 21 2259-2232