![]() |
Compiling HPB bot with Borland's?
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? |
Re: Compiling HPB bot with Borland's?
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). |
Re: Compiling HPB bot with Borland's?
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? |
Re: Compiling HPB bot with Borland's?
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.) |
Re: Compiling HPB bot with Borland's?
here is a picture of my error
|
Re: Compiling HPB bot with Borland's?
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. |
Re: Compiling HPB bot with Borland's?
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 |
Re: Compiling HPB bot with Borland's?
Thanks guys. I edited the paths specified in the BCC32.cfg, ILINK32.cfg and Makefile files, and now it compiles very nicely;)
Thanks again;) |
All times are GMT +2. The time now is 12:11. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.