Compiling errors Cant figure them out.
In the zone make i get this
mob.cpp: In method `void Mob::FillSpawnStruct (NewSpawn_Struct *, Mob *)': mob.cpp:491: warning: assignment to `sint16' from `float' mob.cpp:491: warning: argument to `short int' from `float' mob.cpp: In method `void Mob::CreateHPPacket (APPLAYER *)': mob.cpp:595: warning: assignment to `sint32' from `float' mob.cpp:595: warning: argument to `int' from `float' mob.cpp: In function `int32 Mob::RandomTimer (int, int)': mob.cpp:1937: `rand' undeclared (first use this function) mob.cpp:1937: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [mob.o] Error 1 bash-2.05a$ In the world make i get this: ../common/dbcore.cpp: In method `bool DBcore::RunQuery (const char *, unsigned int, char *, MYSQL_RES **, int32 *, int32 *, int32 *, bool)': ../common/dbcore.cpp:121: `strcpy' undeclared (first use this function) ../common/dbcore.cpp:121: (Each undeclared identifier is reported only once for each function it appears in.) ../common/dbcore.cpp: In method `bool DBcore::Open (const char *, const char *, const char *, const char *, char *, bool, bool)': ../common/dbcore.cpp:156: `strlen' undeclared (first use this function) make: *** [../common/dbcore.o] Error 1 bash-2.05a$ I cant figure out why this is happening. |
echo '\#include <stdlib.h>' >> common/unix.h
echo '\#include <string.h>' >> common/unix.h |
Where would i put this line or do i just echo that at bash?
|
Ok, I just Upgraded gcc to 3.2 now. And when i did make in zone and world it went fine so that is no longer a problem.
It says in the readme that i need to setup some ini files. How do i do that? I cant find the ini files.. |
download the win32 zip and use the ones in there.
|
Thanks.
|
All times are GMT -4. The time now is 04:00 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.