Skip to main content
gamedev.net
🔒 Locked

Help decodeding errors

Started by LittleFreak Jun 28, 2004 at 4:02 PM 3 replies 500+ views
Original Post
LittleFreak
LittleFreak
Im stuck on these errors. I know from paste experience that these errors usely mean I have a Lib wrong but none of these are related to a lib. WinMain.obj : error LNK2001: unresolved external symbol "public: virtual int __stdcall cApp::MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@cApp@@UAGHPAUHWND__@@IIJ@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::PlayerStateChange(struct sMessage *)" (?PlayerStateChange@cApp@@AAEHPAUsMessage@@@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::RemovePlayer(struct sMessage *)" (?RemovePlayer@cApp@@AAEHPAUsMessage@@@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::AddPlayer(struct sMessage *)" (?AddPlayer@cApp@@AAEHPAUsMessage@@@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::PlayerInfo(struct sMessage *,unsigned long)" (?PlayerInfo@cApp@@AAEHPAUsMessage@@K@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::PlayerID(struct sMessage *,unsigned long)" (?PlayerID@cApp@@AAEHPAUsMessage@@K@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::SendNetworkMessage(void *,long,int)" (?SendNetworkMessage@cApp@@AAEHPAXJH@Z) WinMain.obj : error LNK2001: unresolved external symbol "private: int __thiscall cApp::CheckIntersect(class cMesh *,float,float,float,float,float,float)" (?CheckIntersect@cApp@@AAEHPAVcMesh@@MMMMMM@Z) Here my code that is being effected: *CODE REMOVED* [Edited by - Jim Adams on June 28, 2004 4:21:13 PM]
rypyr
rypyr
Where did you implement those functions? I don't see the code for them and nor does your compiler/linker.
Jim Adams
Jim Adams
Please don't post code that's copyrighted and non-distributable in source code form. *CODE REMOVED*

The problem is that you are declaring those functions in the cApp class declaration, but not providing the code for those functions in the cApp class. Make sure there's code for cApp::SendNetworkMessage, cApp::PlayerID, etc provided.


Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.