Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2004, 03:30 PM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default Not sure of why Im getting this...

This error looks new to me... Though I dont claim to be a programming expert (or really even novice)... Everything seems to compile ok, just when it tries to link... The source I am compiling is from cvs as of 10:20 PM (EST) Sept. 12, 2004..... Maybe I havent search ENOUGH (but have looked into it as much as I thought I needed to before deciding there werent any posted anwers as of yet), but if someone could help me out here, just by letting me know if it is something in the code or something I am doing wrong... I will fix it myself if it is something I am doing wrong, but otherwise, consider it an early bug report (smile)>>>>>

Code:
Linking...
client.obj : error LNK2001: unresolved external symbol "public: __thiscall PTimerList::~PTimerList(void)" (??1PTimerList@@QAE@XZ)
client.obj : error LNK2001: unresolved external symbol "public: __thiscall PTimerList::PTimerList(unsigned int)" (??0PTimerList@@QAE@I@Z)
client.obj : error LNK2001: unresolved external symbol "public: bool __thiscall PTimerList::Store(void)" (?Store@PTimerList@@QAE_NXZ)
client_process.obj : error LNK2001: unresolved external symbol "public: bool __thiscall PTimerList::Load(void)" (?Load@PTimerList@@QAE_NXZ)
command.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall PersistentTimer::GetRemainingTime(void)" (?GetRemainingTime@PersistentTimer@@QAEIXZ)
command.obj : error LNK2001: unresolved external symbol "public: void __thiscall PTimerList::ToVector(class std::vector<struct std::pair<unsigned short,class PersistentTimer *>,class std::allocator<struct std::pair<unsigned short,class PersistentTim
er *> > > &)" (?ToVector@PTimerList@@QAEXAAV?$vector@U?$pair@GPAVPersistentTimer@@@std@@V?$allocator@U?$pair@GPAVPersistentTimer@@@std@@@2@@std@@@Z)
../Build/Zone.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

Zone.exe - 7 error(s), 0 warning(s)
BTW this is using VC++ 6.0 Ent., zlib 1.2.1, MySQL 4.0.21-Win, Running on Win XP SP 1.................... Looks like code error (from the snippets I understand), such as unsigned short, and blah blah blah....
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #2  
Old 09-12-2004, 04:03 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Did you add any files to the project that deal with persistant timers?
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
  #3  
Old 09-12-2004, 04:09 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

You need to add ptimer.h and ptimer.cpp to your zone's common files configration in the workspace then compile.
Reply With Quote
  #4  
Old 09-13-2004, 12:59 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Thank you! That took care of it, though I am not sure why those common files were not included in the project... Anyone else have to manually add those two common files to the project in order to get zone to compile/link correctly?
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #5  
Old 09-13-2004, 01:49 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Yes.
It is a problem because I wrote that stuff, but I do not have visual studio to add them to the VS project, and nobody has checked in the change which adds them to the project.
Reply With Quote
  #6  
Old 09-13-2004, 02:25 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Again, no expert here, but Ill see what I can do.. Shouldnt be hard...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #7  
Old 09-13-2004, 02:34 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Done and tested... I can email the project files to you ...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
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 07:36 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3