[Sursă + Serverfiles] Serverfiles RoyalMT2 - 2016

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
EristoffGold
Nou Venit

Nou Venit
Mesaje: 5
Membru din: 29 Dec 2016, 19:40
Aprecieri: 0
Mulţumiri: 0
Medalii

Bună ziua,
încercând să compila sursa jocului I a lua aceste erori:

compile acce.cpp
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
In file included from log.h:4,
from acce.cpp:6:
../../libsql/AsyncSQL.h:11:25: error: mysql/mysql.h: No such file or directory
../../libsql/AsyncSQL.h:12:26: error: mysql/errmsg.h: No such file or directory
../../libsql/AsyncSQL.h:13:32: error: mysql/mysqld_error.h: No such file or directory
compile MarkImage.cpp
compile MarkManager.cpp
In file included from MarkImage.cpp:2:
MarkImage.h:4:19: error: IL/il.h: No such file or directory
In file included from MarkManager.h:4,
from MarkConvert.cpp:2:
MarkImage.h:4:19: error: IL/il.h: No such file or directory
compile OXEvent.cpp
In file included from MarkManager.h:4,
from MarkManager.cpp:2:
MarkImage.h:4:19: error: IL/il.h: No such file or directory
compile TrafficProfiler.cpp
In file included from log.h:4,
from acce.cpp:6:
../../libsql/AsyncSQL.h:35: error: ISO C++ forbids declaration of 'MYSQL_RES' with no type
../../libsql/AsyncSQL.h:35: error: expected ';' before '*' token
../../libsql/AsyncSQL.h: In constructor '_SQLResult::_SQLResult()':
../../libsql/AsyncSQL.h:22: error: class '_SQLResult' does not have any field named 'pSQLResult'
../../libsql/AsyncSQL.h: In destructor '_SQLResult::~_SQLResult()':
../../libsql/AsyncSQL.h:28: error: 'pSQLResult' was not declared in this scope
../../libsql/AsyncSQL.h:30: error: 'mysql_free_result' was not declared in this scope
../../libsql/AsyncSQL.h: At global scope:
../../libsql/AsyncSQL.h:98: error: ISO C++ forbids declaration of 'MYSQL' with no type
../../libsql/AsyncSQL.h:98: error: expected ';' before '*' token
../../libsql/AsyncSQL.h: In constructor '_SQLMsg::_SQLMsg()':
../../libsql/AsyncSQL.h:43: error: class '_SQLMsg' does not have any field named 'm_pkSQL'
../../libsql/AsyncSQL.h: In member function 'void _SQLMsg::Store()':
../../libsql/AsyncSQL.h:64: error: 'struct _SQLResult' has no member named 'pSQLResult'
../../libsql/AsyncSQL.h:64: error: 'm_pkSQL' was not declared in this scope
../../libsql/AsyncSQL.h:64: error: 'mysql_store_result' was not declared in this scope
../../libsql/AsyncSQL.h:65: error: 'mysql_insert_id' was not declared in this scope
../../libsql/AsyncSQL.h:66: error: 'mysql_affected_rows' was not declared in this scope
../../libsql/AsyncSQL.h:68: error: 'struct _SQLResult' has no member named 'pSQLResult'
../../libsql/AsyncSQL.h:70: error: 'struct _SQLResult' has no member named 'pSQLResult'
../../libsql/AsyncSQL.h:70: error: 'mysql_num_rows' was not declared in this scope
../../libsql/AsyncSQL.h:78: error: 'm_pkSQL' was not declared in this scope
../../libsql/AsyncSQL.h:78: error: 'mysql_next_result' was not declared in this scope
../../libsql/AsyncSQL.h: At global scope:
../../libsql/AsyncSQL.h:139: error: ISO C++ forbids declaration of 'MYSQL' with no type
../../libsql/AsyncSQL.h:139: error: expected ';' before '*' token
../../libsql/AsyncSQL.h:165: error: 'MYSQL' does not name a type
In file included from MarkImage.cpp:2:
MarkImage.h:108: error: 'ILuint' does not name a type
MarkImage.cpp: In constructor 'CGuildMarkImage::CGuildMarkImage()':
MarkImage.cpp:19: error: class 'CGuildMarkImage' does not have any field named 'm_uImg'
MarkImage.cpp: In member function 'void CGuildMarkImage::Destroy()':
MarkImage.cpp:31: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:34: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:34: error: 'ilDeleteImages' was not declared in this scope
MarkImage.cpp: In member function 'void CGuildMarkImage::Create()':
MarkImage.cpp:40: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:43: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:43: error: 'ilGenImages' was not declared in this scope
MarkImage.cpp: In member function 'bool CGuildMarkImage::Save(const char*)':
MarkImage.cpp:48: error: 'IL_FILE_OVERWRITE' was not declared in this scope
MarkImage.cpp:48: error: 'ilEnable' was not declared in this scope
MarkImage.cpp:49: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:49: error: 'ilBindImage' was not declared in this scope
MarkImage.cpp:51: error: 'IL_TGA' was not declared in this scope
MarkImage.cpp:51: error: ISO C++ forbids declaration of 'type name' with no type
MarkImage.cpp:51: error: ISO C++ forbids declaration of 'type name' with no type
MarkImage.cpp:51: error: expected primary-expression before 'const'
MarkImage.cpp:51: error: expected `)' before 'const'
MarkImage.cpp:52: error: expected `)' before ';' token
MarkImage.cpp: In member function 'bool CGuildMarkImage::Build(const char*)':
MarkImage.cpp:64: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:64: error: 'ilBindImage' was not declared in this scope
MarkImage.cpp:65: error: 'IL_ORIGIN_SET' was not declared in this scope
MarkImage.cpp:65: error: 'ilEnable' was not declared in this scope
MarkImage.cpp:66: error: 'IL_ORIGIN_UPPER_LEFT' was not declared in this scope
MarkImage.cpp:66: error: 'ilOriginFunc' was not declared in this scope
MarkImage.cpp:71: error: 'IL_BGRA' was not declared in this scope
MarkImage.cpp:71: error: 'IL_UNSIGNED_BYTE' was not declared in this scope
MarkImage.cpp:71: error: 'ilTexImage' was not declared in this scope
MarkImage.cpp:79: error: 'IL_FILE_OVERWRITE' was not declared in this scope
MarkImage.cpp:81: error: 'IL_TGA' was not declared in this scope
MarkImage.cpp:81: error: ISO C++ forbids declaration of 'type name' with no type
MarkImage.cpp:81: error: ISO C++ forbids declaration of 'type name' with no type
MarkImage.cpp:81: error: expected primary-expression before 'const'
MarkImage.cpp:81: error: expected `)' before 'const'
MarkImage.cpp:82: error: expected `)' before ';' token
MarkImage.cpp: In member function 'bool CGuildMarkImage::Load(const char*)':
MarkImage.cpp:92: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:92: error: 'ilBindImage' was not declared in this scope
MarkImage.cpp:93: error: 'IL_ORIGIN_SET' was not declared in this scope
MarkImage.cpp:93: error: 'ilEnable' was not declared in this scope
MarkImage.cpp:94: error: 'IL_ORIGIN_UPPER_LEFT' was not declared in this scope
MarkImage.cpp:94: error: 'ilOriginFunc' was not declared in this scope
MarkImage.cpp:96: error: 'IL_TYPE_UNKNOWN' was not declared in this scope
MarkImage.cpp:96: error: ISO C++ forbids declaration of 'type name' with no type
MarkImage.cpp:96: error: ISO C++ forbids declaration of 'type name' with no type
MarkImage.cpp:96: error: expected primary-expression before 'const'
MarkImage.cpp:96: error: expected `)' before 'const'
MarkImage.cpp:114: error: expected `)' before ';' token
MarkImage.cpp: In member function 'void CGuildMarkImage::PutData(UINT, UINT, UINT, UINT, void*)':
MarkImage.cpp:122: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:122: error: 'ilBindImage' was not declared in this scope
MarkImage.cpp:123: error: 'IL_BGRA' was not declared in this scope
MarkImage.cpp:123: error: 'IL_UNSIGNED_BYTE' was not declared in this scope
MarkImage.cpp:123: error: 'ilSetPixels' was not declared in this scope
MarkImage.cpp: In member function 'void CGuildMarkImage::GetData(UINT, UINT, UINT, UINT, void*)':
MarkImage.cpp:128: error: 'm_uImg' was not declared in this scope
MarkImage.cpp:128: error: 'ilBindImage' was not declared in this scope
MarkImage.cpp:129: error: 'IL_BGRA' was not declared in this scope
MarkImage.cpp:129: error: 'IL_UNSIGNED_BYTE' was not declared in this scope
MarkImage.cpp:129: error: 'ilCopyPixels' was not declared in this scope
compile ani.cpp
In file included from MarkManager.h:4,
from MarkConvert.cpp:2:
MarkImage.h:108: error: 'ILuint' does not name a type
In file included from log.h:4,
from OXEvent.cpp:8:
../../libsql/AsyncSQL.h:11:25: error: mysql/mysql.h: No such file or directory
../../libsql/AsyncSQL.h:12:26: error: mysql/errmsg.h: No such file or directory
../../libsql/AsyncSQL.h:13:32: error: mysql/mysqld_error.h: No such file or directory
In file included from MarkManager.h:4,
from MarkManager.cpp:2:
MarkImage.h:108: error: 'ILuint' does not name a type
gmake: *** [OBJDIR/MarkImage.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/MarkConvert.o] Error 1
gmake: *** [OBJDIR/MarkManager.o] Error 1
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87: warning: unused variable 'count'
acce.cpp: In function 'void Acce_clean_item(CHARACTER*)':
acce.cpp:247: error: 'COSTUME_ACCE' was not declared in this scope
acce.cpp: In function 'bool Acce_make(CHARACTER*)':
acce.cpp:578: error: 'SE_ACCE_SUCCEDED_1' was not declared in this scope
acce.cpp: In function 'void Acce_add_item(CHARACTER*, int, int)':
acce.cpp:799: error: 'COSTUME_ACCE' was not declared in this scope
acce.cpp: In function 'void Acce_delete_item(CHARACTER*, int)':
acce.cpp:846: error: 'COSTUME_ACCE' was not declared in this scope
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:943: warning: comparison between signed and unsigned integer expressions
gmake: *** [OBJDIR/acce.o] Error 1
In file included from OXEvent.cpp:6:
packet.h:1331: error: 'OFFLINE_SHOP_HOST_ITEM_MAX_NUM' was not declared in this scope
In file included from log.h:4,
from OXEvent.cpp:8:
../../libsql/AsyncSQL.h:35: error: ISO C++ forbids declaration of 'MYSQL_RES' with no type
../../libsql/AsyncSQL.h:35: error: expected ';' before '*' token
../../libsql/AsyncSQL.h: In constructor '_SQLResult::_SQLResult()':
../../libsql/AsyncSQL.h:22: error: class '_SQLResult' does not have any field named 'pSQLResult'
../../libsql/AsyncSQL.h: In destructor '_SQLResult::~_SQLResult()':
../../libsql/AsyncSQL.h:28: error: 'pSQLResult' was not declared in this scope
../../libsql/AsyncSQL.h:30: error: 'mysql_free_result' was not declared in this scope
../../libsql/AsyncSQL.h: At global scope:
../../libsql/AsyncSQL.h:98: error: ISO C++ forbids declaration of 'MYSQL' with no type
../../libsql/AsyncSQL.h:98: error: expected ';' before '*' token
../../libsql/AsyncSQL.h: In constructor '_SQLMsg::_SQLMsg()':
../../libsql/AsyncSQL.h:43: error: class '_SQLMsg' does not have any field named 'm_pkSQL'
../../libsql/AsyncSQL.h: In member function 'void _SQLMsg::Store()':
../../libsql/AsyncSQL.h:64: error: 'struct _SQLResult' has no member named 'pSQLResult'
../../libsql/AsyncSQL.h:64: error: 'm_pkSQL' was not declared in this scope
../../libsql/AsyncSQL.h:64: error: 'mysql_store_result' was not declared in this scope
../../libsql/AsyncSQL.h:65: error: 'mysql_insert_id' was not declared in this scope
../../libsql/AsyncSQL.h:66: error: 'mysql_affected_rows' was not declared in this scope
../../libsql/AsyncSQL.h:68: error: 'struct _SQLResult' has no member named 'pSQLResult'
../../libsql/AsyncSQL.h:70: error: 'struct _SQLResult' has no member named 'pSQLResult'
../../libsql/AsyncSQL.h:70: error: 'mysql_num_rows' was not declared in this scope
../../libsql/AsyncSQL.h:78: error: 'm_pkSQL' was not declared in this scope
../../libsql/AsyncSQL.h:78: error: 'mysql_next_result' was not declared in this scope
../../libsql/AsyncSQL.h: At global scope:
../../libsql/AsyncSQL.h:139: error: ISO C++ forbids declaration of 'MYSQL' with no type
../../libsql/AsyncSQL.h:139: error: expected ';' before '*' token
../../libsql/AsyncSQL.h:165: error: 'MYSQL' does not name a type
gmake: *** [OBJDIR/OXEvent.o] Error 1

Vă mulțumesc anticipat.
Avatar utilizator
Stefan
Nivel 6

Nivel 6
Mesaje: 925
Membru din: 18 Dec 2014, 14:02
Server: salcf.re
Regat: Chunjo
Aprecieri: 93  
Mulţumiri: 51  
 Contact:
Medalii

Hello,
thank you for posting in the corresponding section.
i think your problem it s caused by include files. try another one and text here if works


Salut,
Multumesc pentru ca ai postat in sectiunea corespunzatoare.
Cred ca problema ta este cauzata de catre fisierele de include... Incearca cu altele!
Imagine
Imagine
Imagine
Imagine
Afișează semnătura
Avatar utilizator
EristoffGold
Nou Venit

Nou Venit
Mesaje: 5
Membru din: 29 Dec 2016, 19:40
Aprecieri: 0
Mulţumiri: 0
Medalii

Vă mulțumesc pentru a răspunde atât de repede. Sau pot plasa documentul includ? Vă mulțumesc anticipat.
Avatar utilizator
[Tupeu]
Membru de Elita

Membru de Elita
Mesaje: 4101
Membru din: 28 Oct 2015, 16:16
Aprecieri: 35  
Mulţumiri: 2304  
 Contact:
Medalii

Subiect inactiv. Arhivat!
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 29 vizitatori