PDA

View Full Version : Problem with Linking the OBJ Files


smurfy
04-14-2001, 11:13 AM
Hi i want to start h alittle MOD but i cant link the sources..

I add all includes and libs.

After VC++ has compiled the source i get many linking errors.

Linker-Vorgang läuft...
  Bibliothek Release/game.lib und Objekt Release/game.exp wird erstellt
Computer.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) public: void __thiscall CPlayer::GetStats(class CTString &,enum CompStatType,long)" (__imp_?GetStats@CPlayer@@QAEXAAVCTString@@W4CompS tatType@@J@Z)
Game.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) public: void __thiscall CPlayer::GetStats(class CTString &,enum CompStatType,long)" (__imp_?GetStats@CPlayer@@QAEXAAVCTString@@W4CompS tatType@@J@Z)
Computer.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) class CPlayer *  cmp_ppenDHPlayer" (__imp_?cmp_ppenDHPlayer@@3PAVCPlayer@@A)
Computer.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) class CPlayer *  cmp_ppenPlayer" (__imp_?cmp_ppenPlayer@@3PAVCPlayer@@A)
WEDInterface.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) class CPlayer *  cmp_ppenPlayer" (__imp_?cmp_ppenPlayer@@3PAVCPlayer@@A)
Computer.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) int  cmp_bUpdateInBackground" (__imp_?cmp_bUpdateInBackground@@3HA)
Computer.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) int  cmp_bInitialStart" (__imp_?cmp_bInitialStart@@3HA)
Game.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) void __cdecl ctl_ComposeActionPacket(class CPlayerCharacter const &,class CPlayerAction &,int)" (__imp_?ctl_ComposeActionPacket@@YAXABVCPlayerChar acter@@AAVCPlayerAct
ion@@H@Z)
Game.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) void *  ctl_pvPlayerControls" (__imp_?ctl_pvPlayerControls@@3PAXA)
Game.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) long const  ctl_slPlayerControlsSize" (__imp_?ctl_slPlayerControlsSize@@3JB)
Game.obj : error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) long  plr_iHiScore" (__imp_?plr_iHiScore@@3JA)
Release/game.dll : fatal error LNK1120: 9 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.

(sorry for the german compieler msgs )
there some errors with external links and symbols.

Rhinozombiac
04-15-2001, 02:18 AM
hehehe

your ok
just read the other posts
ive answered this question  and so has entorper he just wrote an SDK Faq and i worte a tutorial on how to setup everything so SS compiles


Here are those links
http://filebox.vt.edu/users/mibenne3/misc/SDK_FAQ.html

and mine
http://rhinoflatttindustries.cjb.net/SeriousStudy/

have fun

and next time please read the forums were wasting bandwidth here when you guys do that

Rhino

http://rhinoflatttindustries.cjb.net/
Home Of WickedEnds
 

Rhinozombiac
04-15-2001, 02:21 AM
And just os you know this is not something you post in here  you pst it in the cding section but only if after you have rad all the post for the answer

"ONward christian soooldier"

RhiNo

http://rhinoflatttindustries.cjb.net/
Home Of WickedEnds