Hi!
I tried to google answers to this linker error, but didn't find anything that could solve my problem.
Here is the build log:
------ Build started: Project: server, Configuration: Debug Win32 ------
Linking...
AbstractPlayer.obj : error LNK2019: unresolved external symbol "public: __thiscall BufferReader::BufferReader(unsigned char *,unsigned int)" (??0BufferReader@@QAE@PAEI@Z) referenced in function "public: void __thiscall AbstractPlayer::Listen(void)" (?Listen@AbstractPlayer@@QAEXXZ)
Player.obj : error LNK2019: unresolved external symbol "public: signed char __thiscall BufferReader::getByte(void)" (?getByte@BufferReader@@QAECXZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Player.obj : error LNK2019: unresolved external symbol "public: __thiscall BufferWriter::~BufferWriter(void)" (??1BufferWriter@@QAE@XZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Session.obj : error LNK2001: unresolved external symbol "public: __thiscall BufferWriter::~BufferWriter(void)" (??1BufferWriter@@QAE@XZ)
Player.obj : error LNK2019: unresolved external symbol "public: void __thiscall BufferWriter::addShort(short)" (?addShort@BufferWriter@@QAEXF@Z) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Player.obj : error LNK2019: unresolved external symbol "public: __thiscall BufferWriter::BufferWriter(void)" (??0BufferWriter@@QAE@XZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Player.obj : error LNK2019: unresolved external symbol "public: short __thiscall BufferReader::getShort(void)" (?getShort@BufferReader@@QAEFXZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Session.obj : error LNK2019: unresolved external symbol "public: unsigned char * __thiscall BufferWriter::getBuffer(void)" (?getBuffer@BufferWriter@@QAEPAEXZ) referenced in function "public: void __thiscall Session::Send(class BufferWriter)" (?Send@Session@@QAEXVBufferWriter@@@Z)
Session.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall BufferWriter::getPos(void)" (?getPos@BufferWriter@@QAEIXZ) referenced in function "public: void __thiscall Session::Send(class BufferWriter)" (?Send@Session@@QAEXVBufferWriter@@@Z)
C:\Documents and Settings\misthema\My Documents\Visual Studio 2008\Projects\MMOprojekt\Debug\server.exe : fatal error LNK1120: 8 unresolved externals
Build log was saved at "file://c:\Documents and Settings\misthema\My Documents\Visual Studio 2008\Projects\MMOprojekt\Debug\BuildLog.htm"
server - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I tried to google answers to this linker error, but didn't find anything that could solve my problem.
Here is the build log:
------ Build started: Project: server, Configuration: Debug Win32 ------
Linking...
AbstractPlayer.obj : error LNK2019: unresolved external symbol "public: __thiscall BufferReader::BufferReader(unsigned char *,unsigned int)" (??0BufferReader@@QAE@PAEI@Z) referenced in function "public: void __thiscall AbstractPlayer::Listen(void)" (?Listen@AbstractPlayer@@QAEXXZ)
Player.obj : error LNK2019: unresolved external symbol "public: signed char __thiscall BufferReader::getByte(void)" (?getByte@BufferReader@@QAECXZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Player.obj : error LNK2019: unresolved external symbol "public: __thiscall BufferWriter::~BufferWriter(void)" (??1BufferWriter@@QAE@XZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Session.obj : error LNK2001: unresolved external symbol "public: __thiscall BufferWriter::~BufferWriter(void)" (??1BufferWriter@@QAE@XZ)
Player.obj : error LNK2019: unresolved external symbol "public: void __thiscall BufferWriter::addShort(short)" (?addShort@BufferWriter@@QAEXF@Z) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Player.obj : error LNK2019: unresolved external symbol "public: __thiscall BufferWriter::BufferWriter(void)" (??0BufferWriter@@QAE@XZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Player.obj : error LNK2019: unresolved external symbol "public: short __thiscall BufferReader::getShort(void)" (?getShort@BufferReader@@QAEFXZ) referenced in function "public: virtual void __thiscall Player::HandleRequest(class BufferReader)" (?HandleRequest@Player@@UAEXVBufferReader@@@Z)
Session.obj : error LNK2019: unresolved external symbol "public: unsigned char * __thiscall BufferWriter::getBuffer(void)" (?getBuffer@BufferWriter@@QAEPAEXZ) referenced in function "public: void __thiscall Session::Send(class BufferWriter)" (?Send@Session@@QAEXVBufferWriter@@@Z)
Session.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall BufferWriter::getPos(void)" (?getPos@BufferWriter@@QAEIXZ) referenced in function "public: void __thiscall Session::Send(class BufferWriter)" (?Send@Session@@QAEXVBufferWriter@@@Z)
C:\Documents and Settings\misthema\My Documents\Visual Studio 2008\Projects\MMOprojekt\Debug\server.exe : fatal error LNK1120: 8 unresolved externals
Build log was saved at "file://c:\Documents and Settings\misthema\My Documents\Visual Studio 2008\Projects\MMOprojekt\Debug\BuildLog.htm"
server - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========