About Store Forum Documentation Contact



Post Reply 
Can't Compile After Update - Possible Linker Issue
Author Message
paviii Offline
Member

Post: #1
Can't Compile After Update - Possible Linker Issue
I am getting the following error related to linking to the EE library but I am not sure what I need to update to clear this issue.

Quote:1>------ Build started: Project: Client, Configuration: Debug Win32 ------
2>------ Build started: Project: Server, Configuration: Debug Win32 ------
2>EsenthelEngine.lib(Thread.obj) : error LNK2005: "public: __thiscall EE::CritSect::~CritSect(void)" (??1CritSect@EE@@QAE@XZ) already defined in Server.obj
1>EsenthelEngine.lib(Thread.obj) : error LNK2005: "public: __thiscall EE::CritSect::~CritSect(void)" (??1CritSect@EE@@QAE@XZ) already defined in Neighbor.obj
1>Background Loader.obj : error LNK2019: unresolved external symbol "public: struct EE::Game::Obj * __thiscall EE::Game::WorldManager::objCreateNear(struct EE::Game::ObjParams &,struct EE::Matrix const &)" (?objCreateNear@WorldManager@Game@EE@@QAEPAUObj@23@AAUObjParams@23@ABUMatrix@3@@​Z) referenced in function "void __cdecl InsertCharacter(void)" (?InsertCharacter@@YAXXZ)
1>Neighbor.obj : error LNK2019: unresolved external symbol "public: void __thiscall EE::CritSect::del(void)" (?del@CritSect@EE@@QAEXXZ) referenced in function "public: __thiscall EE::CritSect::~CritSect(void)" (??1CritSect@EE@@QAE@XZ)
2>Server.obj : error LNK2019: unresolved external symbol "public: void __thiscall EE::CritSect::del(void)" (?del@CritSect@EE@@QAEXXZ) referenced in function "public: __thiscall EE::CritSect::~CritSect(void)" (??1CritSect@EE@@QAE@XZ)
1>Player.obj : error LNK2019: unresolved external symbol "public: bool __thiscall EE::Sound::playing(void)" (?playing@Sound@EE@@QAE_NXZ) referenced in function "public: void __thiscall Player::emitSound(struct EE::Str,float,float)" (?emitSound@Player@@QAEXUStr@EE@@MM@Z)
2>../../MMO Server.exe : fatal error LNK1120: 1 unresolved externals
1>../../MMO Client.exe : fatal error LNK1120: 3 unresolved externals
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

Thanks for the help in advance.
Paviii
11-23-2011 12:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
paviii Offline
Member

Post: #2
RE: Can't Compile After Update - Possible Linker Issue
Worked out the problem. I needed to do a clean and build of the project in order to update all the obj files.
11-23-2011 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #3
RE: Can't Compile After Update - Possible Linker Issue
This is a common problem. Please allow me to pop this link here for anyone else in the future that stumbles across this thread.

http://www.esenthel.com/community/showth...p?tid=2862
11-23-2011 09:05 AM
Find all posts by this user Quote this message in a reply
Post Reply