.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Compiling HPB bot with Borland's?
Old
  (#1)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Compiling HPB bot with Borland's? - 24-02-2004

Ok I have downloaded and read the readme.txt in the HPB bot template. It says how to compile the dll with Borlands and I have it installed properly but dont get what he means by copying the makefile_borland to makefile? where is that makefile? I get the and then run the make command? but how do I copy the makefile_borland to makefile?

Please help

MusicMan

P.S how do you read the latest HPB bot source code as its in some weird format at botman's website. Linux maybe?
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Compiling HPB bot with Borland's? - 24-02-2004

The "latest" bot source code has been ported to metamod. In this effect it can compile without any difference on Windows and Linux, with MSVC, GCC or MinGW32.

In the TEMPLATE source code (which is the one you seem to have) there must be a file called "Makefile_borland" somewhere. Rename it to "Makefile" (don't forget the capital M).



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#3)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Compiling HPB bot with Borland's? - 24-02-2004

Thank you very much I know what to do now but it gives me alot of errors when I try to make the file?

Could someone please give a detailed tutorial on how to create the dll with Borland's compiler?
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Compiling HPB bot with Borland's? - 24-02-2004

Could you post the errors you get ? (only the first lines)

Also have you checked the include paths in the Makefile ? Open the "Makefile" file with notepad and check that all the include paths (which are the relative paths where the compiler will go and look for its include files) are well suited for your system. The include paths are options that begind with -I or /I (such as "-I../../metamod-1.13/metamod", which would tell the compiler that some include files it needs are located in "..\..\metamod-1.13\metamod" relatively to the current directory.)



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#5)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Compiling HPB bot with Borland's? - 24-02-2004

here is a picture of my error
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Compiling HPB bot with Borland's? - 25-02-2004

Looks like your Borland compiler is incorrectly installed. It fails to find the standard include files (math.h, stdio.h and the likes are standard C includes).

BTW you know you can copy and paste text from a DOS box instead of taking a whole screen capture ? Right-click on the DOS box title bar, select "Modify", then select a block of text, use the same menu to copy it and paste it elsewhere with CTRL+V like normal.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#7)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Compiling HPB bot with Borland's? - 25-02-2004

You need to setup these files or nothing will work

BCC32.CFG
ILINK32.CFG

Go here for a detailed tutorial
http://www.sirma.bg/Jogy/Pharo/Setup.html


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Compiling HPB bot with Borland's?
Old
  (#8)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Compiling HPB bot with Borland's? - 25-02-2004

Thanks guys. I edited the paths specified in the BCC32.cfg, ILINK32.cfg and Makefile files, and now it compiles very nicely

Thanks again
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com