-- [ Picked text/plain from multipart/alternative ] Yea, I included that file and I am still getting the same error. I have compared my code to the serverplugin_empty in the Source SDK e and the code seems to be similar. Any other ideas?
-Gerry On 2/21/07, Adam amckern Mckern <[EMAIL PROTECTED]> wrote: > > Did you include the memdebug header file? > > Adam > > > --- Gerry Brunelle <[EMAIL PROTECTED]> wrote: > > > -- > > [ Picked text/plain from multipart/alternative ] > > Hello, > > > > I am getting the following link issue when trying to > > compile a plugin I am > > writing. I have narrowed it down to which line is > > causeing it. > > > > EXPOSE_SINGLE_INTERFACE_GLOBALVAR(Contempt, > > IServerPluginCallbacks, > > INTERFACEVERSION_ISERVERPLUGINCALLBACKS, > > g_Contempt); > > > > I have the include for engine/iserverplugin.h and > > interface.h included in > > there as well, but it is still not compiling > > correctly. Does anyone have any > > suggestions on how to fix this error? > > > > 1>Linking... > > 1>contempt_main.obj : error LNK2019: unresolved > > external symbol "public: > > __thiscall InterfaceReg::InterfaceReg(void * > > (__cdecl*)(void),char const *)" > > (??0InterfaceReg@@[EMAIL PROTECTED]@Z) referenced in > > function "void __cdecl > > `dynamic initializer for > > > '__g_CreateContemptIServerPluginCallbacks_reg''(void)" > > > (??__E__g_CreateContemptIServerPluginCallbacks_reg@@YAXXZ) > > -- > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view > > the list archives, please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > -------- > Nigredo Studios http://www.nigredostudios.com > > > > > ____________________________________________________________________________________ > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > http://tv.yahoo.com/ > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- ---------------------------------------- dL - Cyanide General - Dark legion www.thedarklegion.org -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

