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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2010, 08:21 PM
patyrn2k1
Fire Beetle
 
Join Date: Sep 2005
Posts: 7
Default trouble compiling bots ( zone ) on ubuntu 10.4 server

Hello - I'm having an issue compiling bots, it's probably something simple, but I'm not sure what I'm doing wrong, I can compile without bots without a problem ( version 1579 I think, just downloaded it today )

I tried doing the following:

Linux
---------------
1. Edit your "makefile" in .\zone and add "-DBOTS" to DFLAGS.
2. Edit your "makefile.common" file in .\zone and add both "bot.o" and "botspellsai.o"
3. Edit your "makefile" in .\world and add "-DBOTS" to DFLAGS.
4. Compile it.

but I get the following errors:

make -C zone
make[1]: Entering directory `/home/quest/eqemulator/projecteqemu/zone'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -O -g -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DBOTS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE botspellsai.cpp -o botspellsai.o
In file included from botspellsai.cpp:3:
bot.h:46: warning: âtypedefâ was ignored in this declaration
bot.h:51: warning: âtypedefâ was ignored in this declaration
bot.h:57: warning: âtypedefâ was ignored in this declaration
botspellsai.cpp: In member function âvirtual bool Bot::AI_EngagedCastCheck()â:
botspellsai.cpp:585: warning: unused variable âbotLevelâ
botspellsai.cpp: In static member function âstatic Mob* Bot::GetFirstIncomingMobToMez(Bot*, BotSpell)â:
botspellsai.cpp:1055: error: no matching function for call to âEntityList::GetNPCList()â
entity.h:359: note: candidates are: void EntityList::GetNPCList(std::list<NPC*, std::allocator<NPC*> >&)
botspellsai.cpp:1055: error: no matching function for call to âEntityList::GetNPCList()â
entity.h:359: note: candidates are: void EntityList::GetNPCList(std::list<NPC*, std::allocator<NPC*> >&)
make[1]: *** [botspellsai.o] Error 1
make[1]: Leaving directory `/home/quest/eqemulator/projecteqemu/zone'
make: *** [all] Error 2
quest@everquest:~/eqemulator/projecteqemu$


any help would be much appreciated!
Reply With Quote
  #2  
Old 06-28-2010, 09:05 PM
robinreg
Sarnak
 
Join Date: Feb 2010
Location: California
Posts: 88
Default

I had a compiling issue too. http://www.eqemulator.org/forums/showthread.php?t=31544
Reply With Quote
  #3  
Old 06-28-2010, 09:33 PM
patyrn2k1
Fire Beetle
 
Join Date: Sep 2005
Posts: 7
Default

Hi robinreg, thanks for your reply, I made the change suggested by Derision in your thread and it worked - compiled without further issues, thanks !
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 09:18 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