Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2006, 02:01 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default Problems Trying to Compile 0.6.4 w/ Visual Studio 2003

I am trying to compile the latest source code (EQEmu-0.6.4-DR1-58 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.

Code:
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@@QBEPAVEQMailPacket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicationPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQChatPacket * __thiscall EQProtocolPacket::MakeChatPacket(void)const " (?MakeChatPacket@EQProtocolPacket@@QBEPAVEQChatPacket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicationPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQZonePacket * __thiscall EQProtocolPacket::MakeZonePacket(void)const " (?MakeZonePacket@EQProtocolPacket@@QBEPAVEQZonePacket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicationPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQWorldPacket * __thiscall EQProtocolPacket::MakeWorldPacket(void)const " (?MakeWorldPacket@EQProtocolPacket@@QBEPAVEQWorldPacket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicationPacket@@PAVEQProtocolPacket@@@Z)
EQStream.obj : error LNK2019: unresolved external symbol "public: class EQLoginPacket * __thiscall EQProtocolPacket::MakeLoginPacket(void)const " (?MakeLoginPacket@EQProtocolPacket@@QBEPAVEQLoginPacket@@XZ) referenced in function "protected: class EQApplicationPacket * __thiscall EQStream::MakeApplicationPacket(class EQProtocolPacket *)" (?MakeApplicationPacket@EQStream@@IAEPAVEQApplicationPacket@@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@@IAEPAVEQApplicationPacket@@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@@IAEPAVEQApplicationPacket@@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@@IAEPAVEQApplicationPacket@@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@@IAEPAVEQApplicationPacket@@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@@IAEPAVEQApplicationPacket@@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.
Reply With Quote
  #2  
Old 01-10-2006, 02:55 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

sounds like files are missing from your project. You need logsys.cpp and EQ*Packet.cpp in it. I will fix this in cvs.

Last edited by fathernitwit; 01-10-2006 at 11:01 AM..
Reply With Quote
  #3  
Old 01-10-2006, 03:34 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

Thank you for your quick response. I will try recompiling once I get the needed files and let you know how it goes.
Reply With Quote
  #4  
Old 01-10-2006, 04:28 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

I looked in my source folder and I was able to find both files

EQPacket.cpp
logsys.cpp

In the common folder.
Reply With Quote
  #5  
Old 01-10-2006, 05:40 AM
Doodman's Avatar
Doodman
Developer
 
Join Date: Aug 2003
Posts: 246
Default

You will need all the EQ*Packet.cpp files:
EQChatPacket.cpp
EQLoginPacket.cpp
EQMailPacket.cpp
EQPacket.cpp
EQWorldPacket.cpp
EQZonePacket.cpp

And, by the looks of your logs:
opcodemgr.cpp
Reply With Quote
  #6  
Old 01-10-2006, 06:13 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

I have checked and have all of these files.

However, I do not believe it to be a problem with missing files as I would not have made it passed the compile stage of the build. The errors I am getting are during the linking stage. After doing a little searching I have found that the problem could be due to Library Dependencies. If you goto Project->Properties.

On this window you click on:
Configuration Properties->Linker->Input: under Additional Dependencies I have:

odbc32.lib
odbccp32.lib
wsock32.lib
zlib.lib
mysqlclient.lib

listed. Are these all that are required or am I missing some? Thank you for your help so far.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:05 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3