• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Kompilowanie 0.3.4

Bloumer

New Member
Joined
Dec 12, 2008
Messages
198
Reaction score
0
Co zrobic z tym bledem kompilowaniu?

Code:
/0.3.4/vocation.cpp: In member function `void Vocation::reset()':
../0.3.4/vocation.cpp:296: warning: passing `float' for converting 2 of `void* memset(void*, int, size_t)'

g++.exe -c ../0.3.4/waitlist.cpp -o ../0.3.4/waitlist.o -I"C:/Documents and Settings/Bloves/Pulpit/Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__  

g++.exe -c ../0.3.4/weapons.cpp -o ../0.3.4/weapons.o -I"C:/Documents and Settings/Bloves/Pulpit/Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__  

../0.3.4/weapons.cpp: In member function `virtual int32_t WeaponWand::getWeaponDamage(const Player*, const Creature*, const Item*, bool) const':
../0.3.4/weapons.cpp:1043: warning: converting to `int32_t' from `float'
../0.3.4/weapons.cpp:1044: warning: converting to `int32_t' from `float'

windres.exe -i ForgottenServer_private.rc --input-format=rc -o ForgottenServer_private.res -O coff 

windres.exe: can't open icon file `TheForgottenServer.ico': No such file or directory

make.exe: *** [ForgottenServer_private.res] Error 1

I skad ja mam mu wziasc TheForgottenServer.ico - probowalem to co jest w dev-cpp i to z source normalnie co jest :eek: Wiecie co zrobic?
 
dziwne.. no ale fakt faktem znaleść nie może. wrzucone masz w dev-cpp i normalnie przy sourcach?
 
Pobralem normalnie z tad: [forgottenserver] Index of /tags/0.3.4 caly GNU tarball utworzylem sobie folder na pulpicie no i kompilowalem wedlug tego poradnika co jest w Tutorial - devcpp tego goscia. Zmienilem w iologin ta poprawke z PACC no i zkompilowalem i ocb :? Ciekawi mnie ten blad z weapons i vocations
 
Z weapons i vocations to tylko ostrzeżenia, które nic nie przeszkadzają w kompilacji.

U Ciebie przeszkadza tylko ta ikonka, jak to zrobisz to powinno chodzić.
 
Udalo sie chyba zrobil .exe ale nadal sa takie bledy:
Code:
../vocation.cpp: In member function `void Vocation::reset()':
../vocation.cpp:296: warning: passing `float' for converting 2 of `void* memset(void*, int, size_t)'

../weapons.cpp: In member function `virtual int32_t WeaponWand::getWeaponDamage(const Player*, const Creature*, const Item*, bool) const':
../weapons.cpp:1043: warning: converting to `int32_t' from `float'

../weapons.cpp:1044: warning: converting to `int32_t' from `float'
 
nom, to nic nie przeszkadza ( To tylko warningi - ostrzeżenia )

Poprawione zresztą już w private SVN.
 
Kiedy mozna oczekiwac wszystkich poprawek? Jak elf wroci czy jakos wczesniej?
 
Back
Top