View Single Post
can't make the hpb bot template compile
Old
  (#1)
theturtle
Guest
 
Status:
Posts: n/a
Default can't make the hpb bot template compile - 04-10-2004

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

gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c bot.cpp -o b
ot.o

gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c bot_client.c
pp -o bot_client.o

gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c bot_combat.c
pp -o bot_combat.o

gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c bot_navigate
.cpp -o bot_navigate.o

gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c bot_start.cp
p -o bot_start.o
gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c dll.cpp -o d
ll.o
gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c engine.cpp -
o engine.o
gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c h_export.cpp
 -o h_export.o
gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c linkfunc.cpp
 -o linkfunc.o
gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c util.cpp -o
util.o
gcc -march=pentium -O2 -w -I../engine -I../common -I../pm_shared -c waypoint.cpp
 -o waypoint.o
dllwrap -s --output-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
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
type GiveFnpt.dat >> HPB_bot_ming.def
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__FP13eng
inefuncs_sP12globalvars_t@8'
dllwrap: gcc exited with status 1
make: *** [HPB_bot.dll] Error 1
i don't understand why it can't find the GiveFnPtrsToDll function as it is declared in h_export.o ....
could someone please help me ? i'm going crazy :'(

Last edited by theturtle; 04-10-2004 at 09:40..
  
Reply With Quote