can't make the hpb bot template compile
hi guys !
i have a problem when compiling the HPB Bot Template #4 (using the latest cygwin version) here is the output : Code:
C:\projet_bot_cs\hpb_bot_template_4\HPB_bot\dlls>make could someone please help me ? i'm going crazy :'( |
Re: can't make the hpb bot template compile
excuse me but i don't manage to make carriage return in the CODE tag...
the revelant part of the error is : dllwrap -s --def HPB_bot_ming.def --driver-name gcc -o HPB_bot.dll bot.o bot_client.o bot_combat.o bot_navigate.o bot_start.o dll.o engine.o h_export.o linkfunc.o util.o waypoint.o HPB_bot.exp(.edata+0x87c):fake: undefined reference to `GiveFnptrsToDll__FP13enginefuncs_sP12globalvars_t @8' dllwrap: gcc exited with status 1 |
Re: can't make the hpb bot template compile
It works now !
I was in fact using (didn't noticed it) mingw-gcc 3.x... downloading & installing the separate archive mingw-gcc-2.95.x solved my problems... So, i want to suggest a few things to improve the HPB Bot template #4 : * put a README with a warning in it, telling that people should (MUST?) use gcc-2.95.x to compile the template. * change the makefile_mingw and put GCC=gcc-2 instead of GCC=gcc, so people will think about their gcc's version * i had to add "#include <ctype.h>" to bot.cpp and util.cpp because this header was not included... can't understand why it compiles with your compilers... you should perhaps include these includes (hahaha) to the template to avoid peoples search where this f*$^łking function comes from 9_9 apart from these little problems, nice job for this #4 template ! |
Re: can't make the hpb bot template compile
Alternately, you can probably just edit GiveFnpt.dat to contain...
GiveFnptrsToDll__FP13enginefuncs_sP12globalvars_t @8 ..instead of what's currently in there. botman |
Re: can't make the hpb bot template compile
this may be a better way:
Makefile: (for both Windows and GNU/Linux) PHP Code:
PHP Code:
PHP Code:
|
All times are GMT +2. The time now is 18:14. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.