Jump to content
×
×
  • Create New...
  • 0

Soucis compilation game.


Eristoff

Question

Bonjour,

 

En essayant de compiler le game via ces trois commandes:

gmake clean
gmake dep
gmake -j20

 

 

J'obtiens ces erreurs:

compile acce.cpp
compile BattleArena.cpp
In file included from stdafx.h:13,
                 from acce.cpp:2:
../../common/service.h:15:86: warning: no newline at end of file
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 FSM.cpp
In file included from stdafx.h:13,
                 from BattleArena.cpp:1:
../../common/service.h:15:86: warning: no newline at end of file
compile MarkConvert.cpp
compile MarkImage.cpp
In file included from stdafx.h:13,
                 from MarkConvert.cpp:1:
../../common/service.h:15:86: warning: no newline at end of file
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 MarkManager.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 stdafx.h:13,
                 from MarkImage.cpp:1:
../../common/service.h:15:86: warning: no newline at end of file
In file included from MarkImage.cpp:2:
MarkImage.h:4:19: error: IL/il.h: No such file or directory
compile OXEvent.cpp
In file included from stdafx.h:13,
                 from MarkManager.cpp:1:
../../common/service.h:15:86: warning: no newline at end of file
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 stdafx.h:13,
                 from OXEvent.cpp:1:
../../common/service.h:15:86: warning: no newline at end of file
In file included from MarkManager.h:4,
                 from MarkConvert.cpp:2:
MarkImage.h:108: error: 'ILuint' does not name a type
compile ani.cpp
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
In file included from stdafx.h:13,
                 from TrafficProfiler.cpp:10:
../../common/service.h:15:86: warning: no newline at end of file
gmake: *** [OBJDIR/MarkConvert.o] Error 1
gmake: *** Waiting for unfinished jobs....
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
gmake: *** [OBJDIR/MarkImage.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 'bool Acce_InformationInitialize()':
acce.cpp:943: warning: comparison between signed and unsigned integer expressions
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 stdafx.h:13,
                 from ani.cpp:10:
../../common/service.h:15:86: warning: no newline at end of file
In file included from MarkManager.h:4,
                 from MarkManager.cpp:2:
MarkImage.h:108: error: 'ILuint' does not name a type
gmake: *** [OBJDIR/MarkManager.o] Error 1
gmake: *** [OBJDIR/acce.o] Error 1
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

 

Merci d'avance.

En vous remerciant,

Cordialement, Eristoff

Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.