Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2006, 11:08 PM
BobThompson
Fire Beetle
 
Join Date: Nov 2004
Posts: 12
Question VS.NET 2003 Compile Error

I've read through the wikki and every post I can find trying to get Zone to compile, but haven't found anything that seems to help.

I'm getting the following errors. Can anyone lend a hand and help me get this working?

Code:
Linking...
command.obj : error LNK2019: unresolved external symbol "public: bool __thiscall RuleManager::ListRules(char const *,class std::vector<char const *,class std::allocator<char const *> > &)" (?ListRules@RuleManager@@QAE_NPBDAAV?$vector@PBDV?$allocator@PBD@std@@@std@@@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "public: bool __thiscall RuleManager::ListCategories(class std::vector<char const *,class std::allocator<char const *> > &)" (?ListCategories@RuleManager@@QAE_NAAV?$vector@PBDV?$allocator@PBD@std@@@std@@@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "public: bool __thiscall RuleManager::SetRule(char const *,char const *,class Database *,bool)" (?SetRule@RuleManager@@QAE_NPBD0PAVDatabase@@_N@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "public: void __thiscall RuleManager::ResetRules(void)" (?ResetRules@RuleManager@@QAEXXZ) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "public: void __thiscall RuleManager::SaveRules(class Database *,char const *)" (?SaveRules@RuleManager@@QAEXPAVDatabase@@PBD@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "public: static int __cdecl RuleManager::GetRulesetID(class Database *,char const *)" (?GetRulesetID@RuleManager@@SAHPAVDatabase@@PBD@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
command.obj : error LNK2019: unresolved external symbol "public: bool __thiscall RuleManager::LoadRules(class Database *,char const *)" (?LoadRules@RuleManager@@QAE_NPAVDatabase@@PBD@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
net.obj : error LNK2001: unresolved external symbol "public: bool __thiscall RuleManager::LoadRules(class Database *,char const *)" (?LoadRules@RuleManager@@QAE_NPAVDatabase@@PBD@Z)
command.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl RuleManager::ListRulesets(class Database *,class std::map<int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<int>,class std::allocator<struct std::pair<int const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > &)" (?ListRulesets@RuleManager@@SA_NPAVDatabase@@AAV?$map@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@H@2@V?$allocator@U?$pair@$$CBHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@2@@std@@@Z) referenced in function "void __cdecl command_rules(class Client *,class Seperator const *)" (?command_rules@@YAXPAVClient@@PBVSeperator@@@Z)
net.obj : error LNK2019: unresolved external symbol "public: __thiscall RuleManager::RuleManager(void)" (??0RuleManager@@QAE@XZ) referenced in function _$E19
.\../Build/Zone.exe : fatal error LNK1120: 9 unresolved externals
Thanks in advance for any help you can provide.
Reply With Quote
  #2  
Old 08-02-2006, 02:09 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default

Close solution
CHANGE this inside of zone.vcproj (do a search for "perl_playerCorpse.cpp" carrage returns and spaces have been removed)
<File RelativePath=".\perl_PlayerCorpse.cpp"></File>

to look like this in zone.proj (needed for quests to work)
<File RelativePath=".\perl_perlpacket.cpp"></File>
<File RelativePath=".\perl_PlayerCorpse.cpp"></File>
<File RelativePath=".\perlpacket.cpp"></File>

ADD to the "Common Source Files"
<File RelativePath="..\common\rulesys.cpp"> </File>

Open solution, properties of zone
if you want better debugging set
c++.preprocessor, change EQDEBUG=0 to EQDEBUG=5
for quests to work add
c++,preprocessor, add these items.... ,EMBPERL,EMBPERL_PLUGIN

linker, Input, "Ignore Specific Library"
LIBCMT,LIBC,MSVCRT
Reply With Quote
  #3  
Old 08-02-2006, 04:03 PM
BobThompson
Fire Beetle
 
Join Date: Nov 2004
Posts: 12
Default

Finally something that worked! Thanks for the assistance with this.
Reply With Quote
Reply


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 06:15 PM.


 

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