Talk:Adding Lua: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
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


== Using Garrys Mod Files ==
== LNK2019 ==


Will this let me use Garrys Mod Lua Files with some modification? --[[User:Adam.gamedev|Adam.gamedev]] 18:03, 8 July 2010 (UTC)
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)

Revision as of 07:44, 11 July 2010

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)