Error Trying to Compile.
First thing, I would just like to say thank you for the great new release of the emulator. I have downloaded the binaries and everything is running great so far.
Now I have downloaded the newest version of the Source from the download page and I am getting a few errors when trying to compile it. I am getting these errors when I try to compile world Code:
Error 1 fatal error C1083: Cannot open include file: 'HttpdSocket.h': No such file or directory e:\eqemu_source\eqemu-0.6.5\world\eqwhttphandler.h 21 Code:
Error 5 fatal error C1083: Cannot open source file: '..\common\.cpp': No such file or directory c1xx |
Im using VC++6.0...
zone seems to be building but world is giving this error.. --------------------Configuration: World - Win32 Release-------------------- Compiling... perl_EQDBRes.cpp C:\Program Files\Microsoft Visual Studio\C++Projects\EQEmu-0.6.5\common\perl_EQDBRes.cpp(56) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Error executing cl.exe. World.exe - 1 error(s), 0 warning(s) Anyone getting that?? Might be my "version" of C++ too... |
Ok, I have now tried compiling with Visual C++ 6.0 as well. Using VC++ 6.0 I can get Zone and EMuShareMem to both compile but I get the same error as Dr Zauis on World.
|
Quote:
|
Make sure that ..\common\SocketLib is in the include search path in your project.
|
I added ..\Common\SockectLib to the include list and in VC 6.0 I am still getting the same error.
In Visual Studio 2003 and 2005 however I am no longer getting the error about not finding HttpdSocket.h now I am getting these errors Code:
c:\Documents and Settings\csims\Desktop\MISC\EQEmu-0.6.5-03\common\SocketLib\Socket.h(485): error C2079: 'Socket::m_client_remote_addr6' uses undefined struct 'in6_addr' |
Generally those internal compiler errors are caused by precompiled headers... in settings -> C++ -> precompiled headers (or something), set it to "not using precompiled headers".
As for those socket build errors... it sounds like IPPROTO_IPV6 got defined somehow (I dont see it anywhere however..)... so try to find that and delete it. If you cant, you can try putting a #undef IPPROTO_IPV6 at the top of files which are erroring... Also, you prolly want to make sure HAVE_OPENSSL is not defined by the project either (might need to remove libeay32.lib ssleay32.lib from your link settings too). |
Quote:
|
I believe I am having a similiar problem while attempting to compile 0.6.6-754 under VS Studio 2005 on Windows XP. I can get EMUSHAREMEM and ZONE to compile, but world is 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 I have added ./common/socketlib to my include path. Anyone have a solution? |
|
Thank you for the reply Fathernitwit. I have a good compile now.
|
All times are GMT -4. The time now is 04:05 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.