Jump to content
SSForum.net is back!

Recommended Posts

Posted
I'm trying too link the header file lnikedlist01.h to the Merv Bot plugin. But I have no clue which file too include it in since I need it in both the spawn.cpp and command.cpp. The linkedlist01.h only has my linked list and Database commands. If you know which one plz tell me.

--SSG Owner

--SSG GT5000 Owner

 

http://gt5000.no-ip.com:81/lighting2.gif

Posted
you may run into issues with it being (or not being) static. If that's the case, I would just copy that stuff into your spawn.h

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

Posted

I did that and it showed this error:

--------------------Configuration: default - Win32 Debug--------------------

Compiling...

command.cpp

spawn.cpp

Linking...

spawn.obj : error LNK2005: "int Uid" (?Uid@@3HA) already defined in command.obj

spawn.obj : error LNK2005: "class savep1 * FirstV" (?FirstV@@3PAVsavep1@@A) already defined in command.obj

spawn.obj : error LNK2005: "class savep1 * LastPtrV" (?LastPtrV@@3PAVsavep1@@A) already defined in command.obj

spawn.obj : error LNK2005: "class savep1 * ListPtrV" (?ListPtrV@@3PAVsavep1@@A) already defined in command.obj

spawn.obj : error LNK2005: "bool __cdecl MatchString1(char const *,char const *,int)" (?MatchString1@@YA_NPBD0H@Z) already defined in command.obj

spawn.obj : error LNK2005: "bool __cdecl SearchNameV(char * const)" (?SearchNameV@@YA_NQAD@Z) already defined in command.obj

spawn.obj : error LNK2005: "void __cdecl savepAdd(char * const,long,long,int)" (?savepAdd@@YAXQADJJH@Z) already defined in command.obj

spawn.obj : error LNK2005: "void __cdecl databasesave(void)" (?databasesave@@YAXXZ) already defined in command.obj

spawn.obj : error LNK2005: "void __cdecl databaseread(void)" (?databaseread@@YAXXZ) already defined in command.obj

spawn.obj : error LNK2005: "int Uid" (?Uid@@3HA) already defined in command.obj

spawn.obj : error LNK2005: "class savep1 * FirstV" (?FirstV@@3PAVsavep1@@A) already defined in command.obj

spawn.obj : error LNK2005: "class savep1 * LastPtrV" (?LastPtrV@@3PAVsavep1@@A) already defined in command.obj

spawn.obj : error LNK2005: "class savep1 * ListPtrV" (?ListPtrV@@3PAVsavep1@@A) already defined in command.obj

spawn.obj : warning LNK4006: "bool __cdecl MatchString1(char const *,char const *,int)" (?MatchString1@@YA_NPBD0H@Z) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "bool __cdecl SearchNameV(char * const)" (?SearchNameV@@YA_NQAD@Z) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "void __cdecl savepAdd(char * const,long,long,int)" (?savepAdd@@YAXQADJJH@Z) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "void __cdecl databasesave(void)" (?databasesave@@YAXXZ) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "void __cdecl databaseread(void)" (?databaseread@@YAXXZ) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "int Uid" (?Uid@@3HA) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "class savep1 * FirstV" (?FirstV@@3PAVsavep1@@A) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "class savep1 * LastPtrV" (?LastPtrV@@3PAVsavep1@@A) already defined in command.obj; second definition ignored

spawn.obj : warning LNK4006: "class savep1 * ListPtrV" (?ListPtrV@@3PAVsavep1@@A) already defined in command.obj; second definition ignored

Creating library Debug/savep.lib and object Debug/savep.exp

Debug\savep.dll : fatal error LNK1169: one or more multiply defined symbols found

Error executing link.exe.

 

savep.dll - 14 error(s), 9 warning(s)

--SSG Owner

--SSG GT5000 Owner

 

http://gt5000.no-ip.com:81/lighting2.gif

Posted

well then you can unlink the other header and use /FORCE:Multiple

 

but I would only do that AT ALL if you had trouble with things being static or not static

 

 

in the end, its probably just better to fix it some other way, but this is quick

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

Guest
This topic is now closed to further replies.
×
×
  • Create New...