Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2011, 05:08 PM
patyrn2k1
Fire Beetle
 
Join Date: Sep 2005
Posts: 7
Default bot compile error

Hello, I'm using an svn build from a couple days ago, compiles fine without enabling bots, added bots to the mix , but getting the below errors, a search didn't come up with anything useful so I thought I'd post the question here, any idea's how to correct ?

thanks in advance!


/home/quest/eqemulator/new/projecteqemu/zone/bot.cpp:13344: undefined reference to `Entity::CastToBot()'
bot.o: In function `Bot::GetFirstBotInGroup(Group*)':
/home/quest/eqemulator/new/projecteqemu/zone/bot.cpp:9773: undefined reference to `Entity::CastToBot()'
bot.o: In function `Bot::IsBotAttackAllowed(Mob*, Mob*, bool&)':
/home/quest/eqemulator/new/projecteqemu/zone/bot.cpp:7369: undefined reference to `Entity::CastToBot()'
/home/quest/eqemulator/new/projecteqemu/zone/bot.cpp:7394: undefined reference to `Entity::CastToBot()'
/home/quest/eqemulator/new/projecteqemu/zone/bot.cpp:7394: undefined reference to `Entity::CastToBot()'
bot.o:/home/quest/eqemulator/new/projecteqemu/zone/bot.cpp:9613: more undefined references to `Entity::CastToBot()' follow
collect2: ld returned 1 exit status
make[1]: *** [zone] Error 1
make[1]: Leaving directory `/home/quest/eqemulator/new/projecteqemu/zone'
make: *** [all] Error 2
Reply With Quote
  #2  
Old 07-04-2011, 06:02 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Make sure you have followed all of the steps listed here: http://code.google.com/p/projecteqemu/wiki/BOTSCompile
Reply With Quote
  #3  
Old 07-04-2011, 09:50 PM
patyrn2k1
Fire Beetle
 
Join Date: Sep 2005
Posts: 7
Default

thanks for the reply - the fix for my compile problem was to move the bot.o and botspellsai.o to the last line of the SF= parameter in zone/makefile.common ( previously had placed them on the second to last line)


../common/guild_base.o bot.o botspellsai.o \
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:58 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3