sesmar
01-10-2006, 02:01 AM
I am trying to compile the latest source code (EQEmu-0.6.4-DR1-588) From the download section using Visual Studio 2003. I have MySql 4.0.21, Perl 5.8.7 and zLib 1.2.3 installed.
I have added all the Include and Library directories into Visual Studio under options. I am able to build EmuShareMem and World just fine. Zone does not build. Everything compiles fine it is the linking stage that fails. I am getting a lot of unresolved external symbol errors.
zoning.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
trading.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
tribute.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function __ehhandler$?AddTributePoints@Client@@QAEXH@Z
worldserver.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function "public: void __thiscall WorldServer::Process(void)" (?Process@WorldServer@@QAEXXZ)
zone.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
spell_effects.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function "public: bool __thiscall Mob::SpellEffect(class Mob *,unsigned short,float)" (?SpellEffect@Mob@@QAE_NPAV1@GM@Z)
spells.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
titles.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function "public: bool __thiscall TitleManager::LoadTitles(void)" (?LoadTitles@TitleManager@@QAE_NXZ)
tradeskills.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
petitions.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
PlayerCorpse.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
questmgr.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
special_attacks.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
MobAI.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
net.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
command.obj : error LNK2019: unresolved external symbol "void __cdecl log_disable(enum LogType)" (?log_disable@@YAXW4LogType@@@Z) referenced in function "void __cdecl command_mlog(class Client *,class Seperator const *)" (?command_mlog@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "void __cdecl log_enable(enum LogType)" (?log_enable@@YAXW4LogType@@@Z) referenced in function "void __cdecl command_mlog(class Client *,class Seperator const *)" (?command_mlog@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2001: unresolved external symbol "char const * * log_category_names" (?log_category_names@@3PAPBDA)
embperl.obj : error LNK2019: unresolved external symbol _boot_PerlPacket referenced in function _xs_init
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQMailPacket * __thiscall EQProtocolPacket::MakeMailPacket(void)const " (?MakeMailPacket@EQProtocolPacket@@QBEPAVEQMailPac ket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQChatPacket * __thiscall EQProtocolPacket::MakeChatPacket(void)const " (?MakeChatPacket@EQProtocolPacket@@QBEPAVEQChatPac ket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQZonePacket * __thiscall EQProtocolPacket::MakeZonePacket(void)const " (?MakeZonePacket@EQProtocolPacket@@QBEPAVEQZonePac ket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQWorldPacket * __thiscall EQProtocolPacket::MakeWorldPacket(void)const " (?MakeWorldPacket@EQProtocolPacket@@QBEPAVEQWorldP acket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQLoginPacket * __thiscall EQProtocolPacket::MakeLoginPacket(void)const " (?MakeLoginPacket@EQProtocolPacket@@QBEPAVEQLoginP acket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQMailPacket::EQMailPacket(unsigned char const *,unsigned int)" (??0EQMailPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQChatPacket::EQChatPacket(unsigned char const *,unsigned int)" (??0EQChatPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQZonePacket::EQZonePacket(unsigned char const *,unsigned int)" (??0EQZonePacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQWorldPacket::EQWorldPacket(unsigned char const *,unsigned int)" (??0EQWorldPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQLoginPacket::EQLoginPacket(unsigned char const *,unsigned int)" (??0EQLoginPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
(Abbrieviated version of error, Complete error list can be seen at http://eqemu.sesmar.net/errorlog.txt)
I recently had to reformat my C Drive and reinstall windows. Before doing the reformat I was able to compile both 0.6.2 and 0.6.3, now I cannot even get these versions to compile in VS 2003. I am wondering is I have missed some settings somewhere that I have forgot about. I have read everything on the Wiki for compiling under VS 2005 Express, and have tried compiling using Visual Studio 2005 Professional as well with the same results. I have also read all the Tutorials on compiling under Visual Studio 2003 with no luck. Thank you for any help you can provide.
I have added all the Include and Library directories into Visual Studio under options. I am able to build EmuShareMem and World just fine. Zone does not build. Everything compiles fine it is the linking stage that fails. I am getting a lot of unresolved external symbol errors.
zoning.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
trading.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
tribute.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function __ehhandler$?AddTributePoints@Client@@QAEXH@Z
worldserver.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function "public: void __thiscall WorldServer::Process(void)" (?Process@WorldServer@@QAEXXZ)
zone.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
spell_effects.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function "public: bool __thiscall Mob::SpellEffect(class Mob *,unsigned short,float)" (?SpellEffect@Mob@@QAE_NPAV1@GM@Z)
spells.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
titles.obj : error LNK2019: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A) referenced in function "public: bool __thiscall TitleManager::LoadTitles(void)" (?LoadTitles@TitleManager@@QAE_NXZ)
tradeskills.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
petitions.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
PlayerCorpse.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
questmgr.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
special_attacks.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
MobAI.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
net.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
command.obj : error LNK2019: unresolved external symbol "void __cdecl log_disable(enum LogType)" (?log_disable@@YAXW4LogType@@@Z) referenced in function "void __cdecl command_mlog(class Client *,class Seperator const *)" (?command_mlog@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "void __cdecl log_enable(enum LogType)" (?log_enable@@YAXW4LogType@@@Z) referenced in function "void __cdecl command_mlog(class Client *,class Seperator const *)" (?command_mlog@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2001: unresolved external symbol "char const * * log_category_names" (?log_category_names@@3PAPBDA)
embperl.obj : error LNK2019: unresolved external symbol _boot_PerlPacket referenced in function _xs_init
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQMailPacket * __thiscall EQProtocolPacket::MakeMailPacket(void)const " (?MakeMailPacket@EQProtocolPacket@@QBEPAVEQMailPac ket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQChatPacket * __thiscall EQProtocolPacket::MakeChatPacket(void)const " (?MakeChatPacket@EQProtocolPacket@@QBEPAVEQChatPac ket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQZonePacket * __thiscall EQProtocolPacket::MakeZonePacket(void)const " (?MakeZonePacket@EQProtocolPacket@@QBEPAVEQZonePac ket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQWorldPacket * __thiscall EQProtocolPacket::MakeWorldPacket(void)const " (?MakeWorldPacket@EQProtocolPacket@@QBEPAVEQWorldP acket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQLoginPacket * __thiscall EQProtocolPacket::MakeLoginPacket(void)const " (?MakeLoginPacket@EQProtocolPacket@@QBEPAVEQLoginP acket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQMailPacket::EQMailPacket(unsigned char const *,unsigned int)" (??0EQMailPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQChatPacket::EQChatPacket(unsigned char const *,unsigned int)" (??0EQChatPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQZonePacket::EQZonePacket(unsigned char const *,unsigned int)" (??0EQZonePacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQWorldPacket::EQWorldPacket(unsigned char const *,unsigned int)" (??0EQWorldPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
EQStream.obj : error LNK2019: unresolved external symbol "private: __thiscall EQLoginPacket::EQLoginPacket(unsigned char const *,unsigned int)" (??0EQLoginPacket@@AAE@PBEI@Z) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(unsigned char const *,unsigned int)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicat ionPacket@@PBEI@Z)
(Abbrieviated version of error, Complete error list can be seen at http://eqemu.sesmar.net/errorlog.txt)
I recently had to reformat my C Drive and reinstall windows. Before doing the reformat I was able to compile both 0.6.2 and 0.6.3, now I cannot even get these versions to compile in VS 2003. I am wondering is I have missed some settings somewhere that I have forgot about. I have read everything on the Wiki for compiling under VS 2005 Express, and have tried compiling using Visual Studio 2005 Professional as well with the same results. I have also read all the Tutorials on compiling under Visual Studio 2003 with no luck. Thank you for any help you can provide.