- Mesaj
- 32
- Beğeni
- 13
- Puan
- 296
- Ticaret Puanı
- 0
Merhabalar,
internetten bulduğum bir files'e bazı özellikler eklemeye çalışacaktım ama hiçbir şey eklemeden build etmeyi denedim " /usr/src/Server/game/src " bu konuma girip
gmake clean
gmake dep
gmake -j20
komutlarını uyguladıktan sonra aldığım çıktı başta güzel ardından hatalar ile dolu
çok fazla hata var bunların sebebi nedir ? nasıl çözerim
internetten bulduğum bir files'e bazı özellikler eklemeye çalışacaktım ama hiçbir şey eklemeden build etmeyi denedim " /usr/src/Server/game/src " bu konuma girip
gmake clean
gmake dep
gmake -j20
komutlarını uyguladıktan sonra aldığım çıktı başta güzel ardından hatalar ile dolu
Kod:
Derleniyor -> BattleArena.cpp
Derleniyor -> FSM.cpp
Derleniyor -> MarkConvert.cpp
Derleniyor -> MarkImage.cpp
Derleniyor -> MarkManager.cpp
Derleniyor -> OXEvent.cpp
Derleniyor -> TrafficProfiler.cpp
In file included from MarkManager.h:4,
from MarkConvert.cpp:2:
MarkImage.h:4:19: error: IL/il.h: No such file or directory
Derleniyor -> ani.cpp
Derleniyor -> arena.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
In file included from MarkImage.cpp:2:
MarkImage.h:4:19: error: IL/il.h: No such file or directory
In file included from quest.h:10,
from questpc.h:4,
from questnpc.h:4,
from questmanager.h:6,
from BattleArena.cpp:9:
lua_incl.h:5:17: error: lua.h: No such file or directory
lua_incl.h:6:21: error: lauxlib.h: No such file or directory
lua_incl.h:7:20: error: lualib.h: No such file or directory
In file included from quest.h:10,
from questpc.h:4,
from questnpc.h:4,
from questmanager.h:6,
from OXEvent.cpp:4:
lua_incl.h:5:17: error: lua.h: No such file or directory
lua_incl.h:6:21: error: lauxlib.h: No such file or directory
lua_incl.h:7:20: error: lualib.h: No such file or directory
Derleniyor -> banword.cpp
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
In file included from MarkManager.h:4,
from MarkConvert.cpp:2:
MarkImage.h:108: error: 'ILuint' does not name a type
gmake: *** [OBJDIR_GAME/MarkManager.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR_GAME/MarkConvert.o] Error 1
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
gmake: *** [OBJDIR_GAME/MarkImage.o] Error 1
In file included from quest.h:10,
from questpc.h:4,
from questnpc.h:4,
from questmanager.h:6,
from arena.cpp:8:
lua_incl.h:5:17: error: lua.h: No such file or directory
lua_incl.h:6:21: error: lauxlib.h: No such file or directory
lua_incl.h:7:20: error: lualib.h: No such file or directory
In file included from questpc.h:4,
from questnpc.h:4,
from questmanager.h:6,
from OXEvent.cpp:4:
quest.h:110: error: ISO C++ forbids declaration of 'lua_State' with no type
quest.h:110: error: expected ';' before '*' token
quest.h: In constructor 'quest::QuestState::QuestState()':
quest.h:128: error: class 'quest::QuestState' does not have any field named 'co'
In file included from OXEvent.cpp:4:
questmanager.h: At global scope:
questmanager.h:43: error: ISO C++ forbids declaration of 'lua_State' with no type
questmanager.h:43: error: expected ';' before '*' token
questmanager.h:44: error: expected `;' before 'void'
questmanager.h:44: error: 'luaL_reg' has not been declared
questmanager.h:197: error: ISO C++ forbids declaration of 'lua_State' with no type
questmanager.h:197: error: expected ';' before '*' token
In file included from questpc.h:4,
from questnpc.h:4,
from questmanager.h:6,
from BattleArena.cpp:9:
quest.h:110: error: ISO C++ forbids declaration of 'lua_State' with no type
quest.h:110: error: expected ';' before '*' token
quest.h: In constructor 'quest::QuestState::QuestState()':
quest.h:128: error: class 'quest::QuestState' does not have any field named 'co'
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
In file included from BattleArena.cpp:9:
questmanager.h: At global scope:
questmanager.h:43: error: ISO C++ forbids declaration of 'lua_State' with no type
questmanager.h:43: error: expected ';' before '*' token
questmanager.h:44: error: expected `;' before 'void'
questmanager.h:44: error: 'luaL_reg' has not been declared
questmanager.h:197: error: ISO C++ forbids declaration of 'lua_State' with no type
questmanager.h:197: error: expected ';' before '*' token
In file included from questpc.h:4,
from questnpc.h:4,
from questmanager.h:6,
from arena.cpp:8:
quest.h:110: error: ISO C++ forbids declaration of 'lua_State' with no type
quest.h:110: error: expected ';' before '*' token
quest.h: In constructor 'quest::QuestState::QuestState()':
quest.h:128: error: class 'quest::QuestState' does not have any field named 'co'
gmake: *** [OBJDIR_GAME/BattleArena.o] Error 1
In file included from arena.cpp:8:
questmanager.h: At global scope:
questmanager.h:43: error: ISO C++ forbids declaration of 'lua_State' with no type
questmanager.h:43: error: expected ';' before '*' token
questmanager.h:44: error: expected `;' before 'void'
questmanager.h:44: error: 'luaL_reg' has not been declared
questmanager.h:197: error: ISO C++ forbids declaration of 'lua_State' with no type
questmanager.h:197: error: expected ';' before '*' token
gmake: *** [OBJDIR_GAME/OXEvent.o] Error 1
In file included from arena.cpp:11:
arena.h:94: error: 'lua_State' has not been declared
arena.h:123: error: 'lua_State' has not been declared
arena.cpp:589: error: variable or field 'GetDuelList' declared void
arena.cpp:589: error: 'lua_State' was not declared in this scope
arena.cpp:589: error: 'L' was not declared in this scope
gmake: *** [OBJDIR_GAME/arena.o] Error 1
çok fazla hata var bunların sebebi nedir ? nasıl çözerim