Talk:Compiling under VS2005: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎LNK2019: new section)
(→‎LNK1120: new section)
Line 11: Line 11:
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)
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)
--[[User:Adam.gamedev|Adam.gamedev]] 14:44, 11 July 2010 (UTC)
== LNK1120 ==
When I Build my Mod 9Debug, I get this error:
2>.\Debug_episodic/Server.dll : fatal error LNK1120: 1 unresolved externals
--[[User:Adam.gamedev|Adam.gamedev]] 14:47, 11 July 2010 (UTC)

Revision as of 07:47, 11 July 2010


OK, looks like I Googled for nothing, so I'm going to warn you guys now, if your getting errors, look in this page, because I Googled for 2 hours, just to be lead back to the page I started on, but at least it all works now, I'm glad for that. In conclusion, make sure you aren't looking at the fix before you Google for it...

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)

LNK1120

When I Build my Mod 9Debug, I get this error:


2>.\Debug_episodic/Server.dll : fatal error LNK1120: 1 unresolved externals --Adam.gamedev 14:47, 11 July 2010 (UTC)