Talk:Adding Lua: Difference between revisions
Adam.gamedev (talk | contribs) No edit summary |
m (Nesciuse moved page Talk:Multipage Base Pages Temp Storage/Adding Lua to Talk:Adding Lua without leaving a redirect: Moving back to proper place) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Some discussion: http://www.moddb.com/forum/thread/source-adding-lua | Some discussion: http://www.moddb.com/forum/thread/source-adding-lua | ||
== | == LNK2019 == | ||
When I Build my mod (Debug), I get this error: | |||
2>gameinterface.obj : error LNK2019: unresolved external symbol "class CGELUAManager * __cdecl GELua(void)" (?GELua@@YAPAVCGELUAManager@@XZ) referenced in function "public: virtual bool __thiscall CServerGameDLL::DLLInit(void * (__cdecl*)(char const *,int *),void * (__cdecl*)(char const *,int *),void * (__cdecl*)(char const *,int *),class CGlobalVars *)" (?DLLInit@CServerGameDLL@@UAE_NP6APAXPBDPAH@Z22PAVCGlobalVars@@@Z) | |||
--[[User:Adam.gamedev|Adam.gamedev]] 14:44, 11 July 2010 (UTC) | |||
== WRITING YOUR OWN LUA INSTANCE == | |||
Things seem straightfowardes but one problem is I dont know where to put any of the code after the first step especially creating the instance, I get errors when compiling when put into gameinterface.cpp. Is it supposed to be there and im just doing it wrong or is it supposed to be somewhere else entirely? | |||
--[[User:skarano|skarano]] 11:32, 29 June 2024 (PST) |
Latest revision as of 16:00, 15 July 2024
Some discussion: http://www.moddb.com/forum/thread/source-adding-lua
LNK2019
When I Build my mod (Debug), I get this error:
2>gameinterface.obj : error LNK2019: unresolved external symbol "class CGELUAManager * __cdecl GELua(void)" (?GELua@@YAPAVCGELUAManager@@XZ) referenced in function "public: virtual bool __thiscall CServerGameDLL::DLLInit(void * (__cdecl*)(char const *,int *),void * (__cdecl*)(char const *,int *),void * (__cdecl*)(char const *,int *),class CGlobalVars *)" (?DLLInit@CServerGameDLL@@UAE_NP6APAXPBDPAH@Z22PAVCGlobalVars@@@Z) --Adam.gamedev 14:44, 11 July 2010 (UTC)
WRITING YOUR OWN LUA INSTANCE
Things seem straightfowardes but one problem is I dont know where to put any of the code after the first step especially creating the instance, I get errors when compiling when put into gameinterface.cpp. Is it supposed to be there and im just doing it wrong or is it supposed to be somewhere else entirely? --skarano 11:32, 29 June 2024 (PST)