Kompilacja B??d podczas kompilacji

Status
Zamknięty.

Printss

User
Zarejestrowany
Dołączył
Sierpień 14, 2013
Posty
39
Liczba reakcji
3
Witam, podczas kompilacji silnika 7.6 wyskakuj? mi b??d:

Kod:
Kompilator: Default compiler
Building Makefile: "C:\Users\admin\Desktop\cafe ots\Makefile.win"
Wykonywanie  make...
make.exe -f "C:\Users\admin\Desktop\cafe ots\Makefile.win" all
g++.exe -c Source/actions.cpp -o Source/actions.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/others/LUA 5.1/include"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/others/REGEX/lib"  -D__WINDOWS__ -DEXCEPTION_TRACER -DTLM_BUY_SELL -DTLM_SERVER_SAVE -DTLM_HOUSE_SYSTEM -DBDB_UTEVO_LUX -DWOLV_LOAD_NPC -DBD_HOUSE_WINDOW -DTR_ANTI_AFK -DELEM_VIP_LIST -DTR_SUMMONS -DTRS_GM_INVISIBLE -DTLM_SKULLS_PARTY -DBRN_EXIVA -DSD_BURST_ARROW -DBDB_REPLACE_SPEARS -DBD_ITEM_LOOK -DSM_RELOAD_CONFIG -DJD_DEATH_LIST -DCT_EXANI_TERA -DCVS_DAY_CYCLE -DTJ_MONSTER_BLOOD -DJD_WANDS -D__DEBUG_PLAYERS__ -DYUR_CVS_MODS -DYUR_ICE_RAPIER -DYUR_AOL -DYUR_LOGIN_QUEUE -DYUR_MULTIPLIERS -DYUR_BOH -DYUR_NPC_EXT -DYUR_GUILD_SYSTEM -DYUR_CMD_EXT -DYUR_ITEM_EXT -DYUR_ACT_EXT -DYUR_NO_MONSTER_HEAL -DYUR_PVP_ARENA -DYUR_RINGS_AMULETS -DYUR_CONFIG_CAP -DYUR_FIGHT_MODE -DYUR_READABLES -DYUR_LEARN_SPELLS -DYUR_HEAL_EXHAUST -DYUR_SHUTDOWN -DYUR_ROOKGARD -DYUR_LIGHT_ITEM -DYUR_CLEAN_MAP -DYUR_GM_LOOK -DYUR_HIGH_LEVELS -DYUR_PREMIUM_PROMOTION -DYUR_INVISIBLE -DYUR_DRAINS -DYUR_BUILTIN_AAC -DCHRIS_CRIT_HIT -DPALL_REQ_LVL  

Source/actions.cpp: In constructor `ActionScript::ActionScript(Game*, const std::string&, const std::string&)':
Source/actions.cpp:437: error: `luaopen_loadlib' undeclared (first use this function)
Source/actions.cpp:437: error: (Each undeclared identifier is reported only once for each function it appears in.)

Source/actions.cpp:442: error: `lua_dofile' undeclared (first use this function)

make.exe: *** [Source/actions.o] Error 1

Wykonanie zako?czone
 
Odp: B??d podczas kompilacji

Z?a wersja bibliotek lua.
 
Odp: B??d podczas kompilacji

Jeste? w stanie podrzuci? dobra wersje ? :)

Nast?pny b??d :/

Kod:
Source/game.cpp: In member function `void Game::magicBolt(Creature*, const Position&)':
Source/game.cpp:6364: error: 'class LuaScript' has no member named 'MBOLT'

Source/game.cpp:6365: error: 'class LuaScript' has no member named 'MBOLT'

make.exe: *** [Source/game.o] Error 1
 
Ostatnia edycja:
Odp: B??d podczas kompilacji

W luascript.cpp pod

Kod:
BAN_UNJUST = getGlobalNumber("banunjust",6);

dodaj
Kod:
MBOLT = atoi(getGlobalStringField("mbolt" 1, "2.0").c_str());

oraz w luascript.h

pod

Kod:
int BAN_UNJUST;

dodaj

Kod:
double MBOLT;

Co do paczek znajdziesz je tutaj

http://zarkots.prv.pl/download.html
 
Status
Zamknięty.
Back
Do góry