MaR0
Banned User
- Joined
- Apr 16, 2018
- Messages
- 272
- Solutions
- 3
- Reaction score
- 29
i'v some error while compiling otserv 0.6.0_SVN
the error is :-
i'm Compiling with Stian's Repack Dev-Cpp v2
here is the c++ compiler
and the linker
the error is :-
Code:
../luascript.cpp: In static member function `static bool ScriptEnviroment::saveGameState()':
../luascript.cpp:113: error: `Database' was not declared in this scope
../luascript.cpp:113: error: `db' was not declared in this scope
../luascript.cpp:113: error: `Database' is not a class or namespace
../luascript.cpp:113: error: `instance' was not declared in this scope
../luascript.cpp:114: error: `DBQuery' was not declared in this scope
../luascript.cpp:114: error: expected `;' before "query"
../luascript.cpp:120: error: `DBInsert' was not declared in this scope
../luascript.cpp:120: error: expected `;' before "stmt"
../luascript.cpp:121: error: `stmt' was not declared in this scope
../luascript.cpp:124: error: `query' was not declared in this scope
../luascript.cpp: In static member function `static bool ScriptEnviroment::loadGameState()':
../luascript.cpp:141: error: `Database' was not declared in this scope
../luascript.cpp:141: error: `db' was not declared in this scope
../luascript.cpp:141: error: `Database' is not a class or namespace
../luascript.cpp:141: error: `instance' was not declared in this scope
../luascript.cpp:142: error: `DBResult' was not declared in this scope
../luascript.cpp:142: error: `result' was not declared in this scope
../luascript.cpp:143: error: `DBQuery' was not declared in this scope
../luascript.cpp:143: error: expected `;' before "query"
mingw32-make: *** [../luascript.o] Error 1
Execution terminated
here is the c++ compiler
Code:
-D__ROGIER_PREMIUM__
-D__ROGIER_HIGHLEVELS__
-D__ROGIER_VOCATION_IMMUNITIES__
-D__ROGIER_MULTIWORLD__
-D__ROGIER_ACCOUNTMANAGER__
-D__CORPSE_SYSTEM__
-D__PARTYSYSTEM__
-D__BEDS__
-D__DEBUG_LUASCRIPTS__
-D__ROGIER_GMWINDOW__
-D__ROGIER_RULEVIOLATION__
-D__ROGIER_CHANNELCOLOR__
-D__ROGIER_DUALWIELD__
-D__ROGIER_WEAPONMOD__
-D__SKULLSYSTEM__
-D__ROGIER_COMMANDMOD__
-D__PB_BUY_HOUSE__
-D__CLEAN__
-D__ROGIER_SERVERSAVE__
-D__TC_GM_INVISIBLE__
-D__ROGIER_CANATTACKSUMMON__
-D__ROGIER_CONFIGCAP__
-D__ROGIER_BYTESIZECONFIG__
-D__ROGIER_RULEVIOLATION__
-D__ROGIER_EXPERIENCESTAGES__
-D__ROGIER_EXP_SHARE__
-D__ROGIER_RUNEWEP__
Code:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s