PDA

View Full Version : Compile Issues For 0.6.6-754


WildcardX
04-01-2006, 09:35 AM
I am trying to compile 0.6.6-754 under Windows XP with Visual Studio 2005, but the zip I downloaded doesn't appear to have GuildList.cpp included. Anyone have a current copy of this file?

I am also getting errors about not opening include file "HttpdSocket.h". Am I missing a project file for this?

VitaminJosh
04-01-2006, 11:54 AM
I am trying to compile 0.6.6-754 under Windows XP with Visual Studio 2005, but the zip I downloaded doesn't appear to have GuildList.cpp included. Anyone have a current copy of this file?

I am also getting errors about not opening include file "HttpdSocket.h". Am I missing a project file for this?

Remove GuildList.cpp from the project list. Make sure that ..\common\SocketLib is in the includes.

WildcardX
04-01-2006, 02:22 PM
Thanks for the responce. I have done what you suggested and now I can get EMUSHAREMEM and ZONE to compile, but world is stubboringly kicking back the following:

Error 61 error LNK2019: unresolved external symbol "public: void __thiscall BaseTCPServer::Close(void)" (?Close@BaseTCPServer@@QAEXXZ) referenced in function "public: void __thiscall EQWHTTPServer::Stop(void)" (?Stop@EQWHTTPServer@@QAEXXZ) EQWHTTPHandler.obj
Error 62 error LNK2001: unresolved external symbol "public: void __thiscall BaseTCPServer::Close(void)" (?Close@BaseTCPServer@@QAEXXZ) net.obj
Error 63 error LNK2019: unresolved external symbol "public: bool __thiscall BaseTCPServer::Open(unsigned short,char *)" (?Open@BaseTCPServer@@QAE_NGPAD@Z) referenced in function "public: bool __thiscall EQWHTTPServer::Start(unsigned short,char const *)" (?Start@EQWHTTPServer@@QAE_NGPBD@Z) EQWHTTPHandler.obj
Error 64 error LNK2001: unresolved external symbol "public: bool __thiscall BaseTCPServer::Open(unsigned short,char *)" (?Open@BaseTCPServer@@QAE_NGPAD@Z) net.obj
Error 65 error LNK2019: unresolved external symbol "public: virtual __thiscall BaseTCPServer::~BaseTCPServer(void)" (??1BaseTCPServer@@UAE@XZ) referenced in function __unwindfunclet$??0?$TCPServer@VEQWHTTPHandler@@@@ QAE@G@Z$0 EQWHTTPHandler.obj
Error 66 error LNK2001: unresolved external symbol "public: virtual __thiscall BaseTCPServer::~BaseTCPServer(void)" (??1BaseTCPServer@@UAE@XZ) net.obj
Error 67 error LNK2019: unresolved external symbol "public: __thiscall BaseTCPServer::BaseTCPServer(unsigned short)" (??0BaseTCPServer@@QAE@G@Z) referenced in function "public: __thiscall TCPServer<class EQWHTTPHandler>::TCPServer<class EQWHTTPHandler>(unsigned short)" (??0?$TCPServer@VEQWHTTPHandler@@@@QAE@G@Z) EQWHTTPHandler.obj
Error 68 error LNK2019: unresolved external symbol "protected: void __thiscall BaseTCPServer::StopLoopAndWait(void)" (?StopLoopAndWait@BaseTCPServer@@IAEXXZ) referenced in function "public: virtual __thiscall TCPServer<class EQWHTTPHandler>::~TCPServer<class EQWHTTPHandler>(void)" (??1?$TCPServer@VEQWHTTPHandler@@@@UAE@XZ) EQWHTTPHandler.obj
Error 69 error LNK2001: unresolved external symbol "protected: void __thiscall BaseTCPServer::StopLoopAndWait(void)" (?StopLoopAndWait@BaseTCPServer@@IAEXXZ) net.obj
Error 70 error LNK2019: unresolved external symbol "protected: virtual void __thiscall BaseTCPServer::Process(void)" (?Process@BaseTCPServer@@MAEXXZ) referenced in function "protected: virtual void __thiscall TCPServer<class EQWHTTPHandler>::Process(void)" (?Process@?$TCPServer@VEQWHTTPHandler@@@@MAEXXZ) EQWHTTPHandler.obj
Error 71 error LNK2001: unresolved external symbol "protected: virtual void __thiscall BaseTCPServer::Process(void)" (?Process@BaseTCPServer@@MAEXXZ) net.obj
Error 72 error LNK2019: unresolved external symbol "public: class ServerPacket * __thiscall EmuTCPConnection::PopPacket(void)" (?PopPacket@EmuTCPConnection@@QAEPAVServerPacket@@ XZ) referenced in function "public: bool __thiscall LauncherLink::Process(void)" (?Process@LauncherLink@@QAE_NXZ) LauncherLink.obj
Error 73 error LNK2001: unresolved external symbol "public: class ServerPacket * __thiscall EmuTCPConnection::PopPacket(void)" (?PopPacket@EmuTCPConnection@@QAEPAVServerPacket@@ XZ) LoginServer.obj
Error 74 error LNK2001: unresolved external symbol "public: class ServerPacket * __thiscall EmuTCPConnection::PopPacket(void)" (?PopPacket@EmuTCPConnection@@QAEPAVServerPacket@@ XZ) zoneserver.obj
Error 75 error LNK2019: unresolved external symbol "public: __thiscall EmuTCPConnection::EmuTCPConnection(bool,class EmuTCPServer *,enum EmuTCPConnection::eTCPMode)" (??0EmuTCPConnection@@QAE@_NPAVEmuTCPServer@@W4eTC PMode@0@@Z) referenced in function "public: __thiscall LoginServer::LoginServer(char const *,unsigned short)" (??0LoginServer@@QAE@PBDG@Z) LoginServer.obj
Error 76 error LNK2019: unresolved external symbol "public: __thiscall EmuTCPServer::EmuTCPServer(unsigned short,bool)" (??0EmuTCPServer@@QAE@G_N@Z) referenced in function "void __cdecl `dynamic initializer for 'tcps''(void)" (??__Etcps@@YAXXZ) net.obj
Error 77 error LNK2019: unresolved external symbol "public: virtual __thiscall EmuTCPServer::~EmuTCPServer(void)" (??1EmuTCPServer@@UAE@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'tcps''(void)" (??__Ftcps@@YAXXZ) net.obj
Error 78 fatal error LNK1120: 10 unresolved externals ../build/WorldDebug.exe

Am I missing a library?

WildcardX
04-02-2006, 03:38 AM
My issue was resolved in this thread, if anyone else comes across this issue:

http://www.eqemulator.net/forums/showthread.php?p=118483#post118483

Basically, the issue was not all .cpp or .h files were included in the VS project so I had to do a find in all files search for the particular functions that were in the linker error message and add them to the project.