PlaneShift

Development => Development Deliberation => Topic started by: AryHann on January 24, 2005, 10:40:05 am

Title: Errors in compilation
Post by: AryHann on January 24, 2005, 10:40:05 am
Hi!

With MSVC 7.1 I have tried to compile the latest CVS version of PS.

I got a lot of warnings, and some error on apppserver that didn\'t make such project compile successfully.

Here it is:

command.obj : error LNK2019: unresolved external symbol \"public: void __thiscall EconomyManager::ClearTransactions(void)\" (?ClearTransactions@EconomyManager@@QAEXXZ) referenced in function \"int __cdecl com_transactions(char *)\" (?com_transactions@@YAHPAD@Z)
command.obj : error LNK2019: unresolved external symbol \"public: struct TransactionEntity * __thiscall EconomyManager::GetTransaction(int)\" (?GetTransaction@EconomyManager@@QAEPAUTransactionEntity@@H@Z) referenced in function \"int __cdecl com_transactions(char *)\" (?com_transactions@@YAHPAD@Z)
command.obj : error LNK2019: unresolved external symbol \"public: unsigned int __thiscall EconomyManager::GetTotalTransactions(void)\" (?GetTotalTransactions@EconomyManager@@QAEIXZ) referenced in function \"int __cdecl com_transactions(char *)\" (?com_transactions@@YAHPAD@Z)
psserver.obj : error LNK2019: unresolved external symbol \"public: __thiscall EconomyManager::EconomyManager(class EntityManager *,class MsgHandler *,class EventManager *)\" (??0EconomyManager@@QAE@PAVEntityManager@@PAVMsgHandler@@PAVEventManager@@@Z) referenced in function \"public: bool __thiscall psServer::Initialize(struct iObjectRegistry *)\" (?Initialize@psServer@@QAE_NPAUiObjectRegistry@@@Z)
psbuild\\debug\\temp\\apppsserver\\psserver.exe : fatal error LNK1120: 4 unresolved externals

Ary
Title:
Post by: AryHann on January 24, 2005, 10:43:48 am
Thanks to Khaki, adding economymanager.cpp to the project was the solution!

Ary