paviii
Member
|
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 |
|
paviii
Member
|
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 |
|
fatcoder
Member
|
RE: Can't Compile After Update - Possible Linker Issue
|
|
11-23-2011 09:05 AM |
|