LUA5 Link errors..sorry guys...
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: LUA5 Link errors..sorry guys...
- From: Dave Owens <DaveO@...>
- Date: 2003年9月18日 10:47:28 +0100
I'm trying to create a wrapper Lib for my c++ project .
I include LUA as c source in the lib.
I extern "C" the headers.
But, I get these link errors...(VC7)
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol
_luaopen_loadlib
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol
_luaopen_debug
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol
_luaopen_math
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol
_luaopen_string
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol _luaopen_io
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol
_luaopen_table
MorfD.Lib(Morf.obj) : error LNK2001: unresolved external symbol
_luaopen_base
MorfD.Lib(Morf.obj) : error LNK2019: unresolved external symbol
_luaL_loadfile referenced in function "public: int __thiscall
Morf::Load(char const *,bool)" (?Load@Morf@@QAEHPBD_N@Z)
These functions are from withen the cpp libs files..
IF I change the LUA source to cpp(which I don't want to do) I compile fine..
Help!