• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

The Forgotten Dev-Cpp v2.6!

Status
Not open for further replies.
i`ve got a problem when i`m compiling souruces, what about it is and what i need to do?

Code:
Kompilator: Default compiler
Building Makefile: "F:\Documents and Settings\Dano\Pulpit\svn\forgottenserver\trunk\Makefile.win"
Wykonywanie  make...
make.exe -f "F:\Documents and Settings\Dano\Pulpit\svn\forgottenserver\trunk\Makefile.win" all
g++.exe -c actions.cpp -o 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"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__RULEVIOLATIONREPORT__  

In file included from creature.h:29,
                 from player.h:25,
                 from actions.cpp:24:
condition.h:29:30: libxml/xmlmemory.h: No such file or directory
condition.h:30:27: libxml/parser.h: No such file or directory
In file included from creature.h:29,
                 from player.h:25,
                 from actions.cpp:24:
condition.h:135: error: `xmlNodePtr' does not name a type
condition.h:136: error: `unserialize' declared as a `virtual' field
condition.h:136: error: expected `;' before '(' token

condition.h:190: error: `xmlNodePtr' does not name a type
condition.h:191: error: `unserialize' declared as a `virtual' field

condition.h:191: error: expected `;' before '(' token

condition.h:221: error: `xmlNodePtr' does not name a type
condition.h:222: error: `unserialize' declared as a `virtual' field

condition.h:222: error: expected `;' before '(' token

condition.h:250: error: `xmlNodePtr' does not name a type
condition.h:251: error: `unserialize' declared as a `virtual' field

condition.h:251: error: expected `;' before '(' token

condition.h:296: error: `xmlNodePtr' does not name a type
condition.h:297: error: `unserialize' declared as a `virtual' field

condition.h:297: error: expected `;' before '(' token

condition.h:341: error: `xmlNodePtr' does not name a type
condition.h:342: error: `unserialize' declared as a `virtual' field

condition.h:342: error: expected `;' before '(' token

condition.h:376: error: `xmlNodePtr' does not name a type
condition.h:377: error: `unserialize' declared as a `virtual' field

condition.h:377: error: expected `;' before '(' token

condition.h:405: error: `xmlNodePtr' does not name a type
condition.h:406: error: `unserialize' declared as a `virtual' field

condition.h:406: error: expected `;' before '(' token

In file included from tile.h:27,
                 from creature.h:31,
                 from player.h:25,
                 from actions.cpp:24:
item.h:241: error: `unserialize' declared as a `virtual' field
item.h:241: error: expected `;' before '(' token
item.h:242: error: `xmlNodePtr' does not name a type

In file included from creatureevent.h:24,
                 from creature.h:33,
                 from player.h:25,
                 from actions.cpp:24:
luascript.h:30:18: lua.h: No such file or directory
In file included from creatureevent.h:24,
                 from creature.h:33,
                 from player.h:25,
                 from actions.cpp:24:
luascript.h:32: warning: `luaopen_luasql_mysql' initialized and declared `extern'

luascript.h:32: error: `lua_State' was not declared in this scope
luascript.h:32: error: expected primary-expression before ')' token
luascript.h:36: warning: `luaopen_luasql_sqlite3' initialized and declared `extern'
luascript.h:36: error: `lua_State' was not declared in this scope

luascript.h:36: error: expected primary-expression before ')' token

luascript.h:40:22: lauxlib.h: No such file or directory
luascript.h:41:21: lualib.h: No such file or directory
luascript.h:294: error: ISO C++ forbids declaration of `lua_State' with no type
luascript.h:294: error: expected `;' before '*' token
luascript.h:296: error: expected `;' before "bool"
luascript.h:301: error: variable or field `pushThing' declared void
luascript.h:301: error: expected `;' before '(' token
luascript.h:302: error: variable or field `pushVariant' declared void

luascript.h:302: error: expected `;' before '(' token
luascript.h:303: error: variable or field `pushPosition' declared void
luascript.h:303: error: expected `;' before '(' token
luascript.h:304: error: variable or field `pushPosition' declared void
luascript.h:304: error: expected `;' before '(' token
luascript.h:306: error: expected `;' before '(' token
luascript.h:307: error: variable or field `popPosition' declared void
luascript.h:307: error: expected `;' before '(' token
luascript.h:308: error: variable or field `popPosition' declared void
luascript.h:308: error: expected `;' before '(' token
luascript.h:309: error: expected `;' before '(' token
luascript.h:310: error: expected `;' before '(' token
luascript.h:311: error: expected `;' before '(' token
luascript.h:313: error: expected `;' before '(' token
luascript.h:314: error: variable or field `setField' declared void
luascript.h:314: error: expected `;' before '(' token
luascript.h:315: error: variable or field `setField' declared void
luascript.h:315: error: expected `;' before '(' token
luascript.h:323: error: expected `;' before '(' token
luascript.h:326: error: expected `;' before '(' token
luascript.h:327: error: expected `;' before '(' token
luascript.h:328: error: expected `;' before '(' token
luascript.h:329: error: expected `;' before '(' token
luascript.h:330: error: expected `;' before '(' token
luascript.h:331: error: expected `;' before '(' token
luascript.h:332: error: expected `;' before '(' token
luascript.h:333: error: expected `;' before '(' token
luascript.h:334: error: expected `;' before '(' token

luascript.h:335: error: expected `;' before '(' token
luascript.h:336: error: expected `;' before '(' token
luascript.h:337: error: expected `;' before '(' token
luascript.h:338: error: expected `;' before '(' token
luascript.h:339: error: expected `;' before '(' token
luascript.h:340: error: expected `;' before '(' token
luascript.h:341: error: expected `;' before '(' token
luascript.h:342: error: expected `;' before '(' token
luascript.h:343: error: expected `;' before '(' token
luascript.h:344: error: expected `;' before '(' token
luascript.h:345: error: expected `;' before '(' token
luascript.h:347: error: expected `;' before '(' token
luascript.h:348: error: expected `;' before '(' token
luascript.h:349: error: expected `;' before '(' token
luascript.h:350: error: expected `;' before '(' token
luascript.h:351: error: expected `;' before '(' token

luascript.h:352: error: expected `;' before '(' token
luascript.h:353: error: expected `;' before '(' token
luascript.h:354: error: expected `;' before '(' token
luascript.h:355: error: expected `;' before '(' token
luascript.h:356: error: expected `;' before '(' token
luascript.h:357: error: expected `;' before '(' token
luascript.h:358: error: expected `;' before '(' token
luascript.h:359: error: expected `;' before '(' token
luascript.h:360: error: expected `;' before '(' token
luascript.h:361: error: expected `;' before '(' token
luascript.h:362: error: expected `;' before '(' token
luascript.h:363: error: expected `;' before '(' token
luascript.h:364: error: expected `;' before '(' token
luascript.h:365: error: expected `;' before '(' token
luascript.h:366: error: expected `;' before '(' token
luascript.h:367: error: expected `;' before '(' token

luascript.h:368: error: expected `;' before '(' token
luascript.h:369: error: expected `;' before '(' token
luascript.h:372: error: expected `;' before '(' token
luascript.h:373: error: expected `;' before '(' token
luascript.h:374: error: expected `;' before '(' token
luascript.h:375: error: expected `;' before '(' token
luascript.h:376: error: expected `;' before '(' token
luascript.h:377: error: expected `;' before '(' token
luascript.h:378: error: expected `;' before '(' token
luascript.h:379: error: expected `;' before '(' token
luascript.h:382: error: expected `;' before '(' token
luascript.h:383: error: expected `;' before '(' token
luascript.h:384: error: expected `;' before '(' token
luascript.h:387: error: expected `;' before '(' token
luascript.h:388: error: expected `;' before '(' token
luascript.h:389: error: expected `;' before '(' token

luascript.h:392: error: expected `;' before '(' token
luascript.h:393: error: expected `;' before '(' token
luascript.h:394: error: expected `;' before '(' token
luascript.h:395: error: expected `;' before '(' token
luascript.h:396: error: expected `;' before '(' token
luascript.h:397: error: expected `;' before '(' token
luascript.h:398: error: expected `;' before '(' token
luascript.h:399: error: expected `;' before '(' token
luascript.h:400: error: expected `;' before '(' token
luascript.h:403: error: expected `;' before '(' token
luascript.h:404: error: expected `;' before '(' token
luascript.h:405: error: expected `;' before '(' token
luascript.h:406: error: expected `;' before '(' token
luascript.h:407: error: expected `;' before '(' token
luascript.h:408: error: expected `;' before '(' token
luascript.h:409: error: expected `;' before '(' token

luascript.h:410: error: expected `;' before '(' token
luascript.h:411: error: expected `;' before '(' token
luascript.h:412: error: expected `;' before '(' token
luascript.h:413: error: expected `;' before '(' token
luascript.h:414: error: expected `;' before '(' token
luascript.h:415: error: expected `;' before '(' token
luascript.h:416: error: expected `;' before '(' token
luascript.h:417: error: expected `;' before '(' token
luascript.h:418: error: expected `;' before '(' token
luascript.h:419: error: expected `;' before '(' token
luascript.h:420: error: expected `;' before '(' token
luascript.h:421: error: expected `;' before '(' token
luascript.h:422: error: expected `;' before '(' token
luascript.h:423: error: expected `;' before '(' token
luascript.h:424: error: expected `;' before '(' token
luascript.h:425: error: expected `;' before '(' token

luascript.h:427: error: expected `;' before '(' token
luascript.h:428: error: expected `;' before '(' token
luascript.h:429: error: expected `;' before '(' token
luascript.h:430: error: expected `;' before '(' token
luascript.h:431: error: expected `;' before '(' token
luascript.h:432: error: expected `;' before '(' token
luascript.h:433: error: expected `;' before '(' token
luascript.h:434: error: expected `;' before '(' token
luascript.h:435: error: expected `;' before '(' token
luascript.h:436: error: expected `;' before '(' token
luascript.h:437: error: expected `;' before '(' token
luascript.h:439: error: expected `;' before '(' token
luascript.h:440: error: expected `;' before '(' token
luascript.h:442: error: expected `;' before '(' token
luascript.h:443: error: expected `;' before '(' token
luascript.h:444: error: expected `;' before '(' token

luascript.h:445: error: expected `;' before '(' token
luascript.h:446: error: expected `;' before '(' token
luascript.h:447: error: expected `;' before '(' token
luascript.h:448: error: expected `;' before '(' token
luascript.h:450: error: expected `;' before '(' token
luascript.h:451: error: expected `;' before '(' token
luascript.h:453: error: expected `;' before '(' token
luascript.h:454: error: expected `;' before '(' token
luascript.h:456: error: expected `;' before '(' token
luascript.h:457: error: expected `;' before '(' token
luascript.h:459: error: expected `;' before '(' token
luascript.h:460: error: expected `;' before '(' token
luascript.h:461: error: expected `;' before '(' token
luascript.h:462: error: expected `;' before '(' token
luascript.h:463: error: expected `;' before '(' token
luascript.h:464: error: expected `;' before '(' token

luascript.h:465: error: expected `;' before '(' token
luascript.h:468: error: expected `;' before '(' token
luascript.h:469: error: expected `;' before '(' token
luascript.h:470: error: expected `;' before '(' token
luascript.h:471: error: expected `;' before '(' token
luascript.h:473: error: expected `;' before '(' token
luascript.h:474: error: expected `;' before '(' token
luascript.h:475: error: expected `;' before '(' token
luascript.h:478: error: expected `;' before '(' token
luascript.h:479: error: expected `;' before '(' token
luascript.h:480: error: expected `;' before '(' token
luascript.h:481: error: expected `;' before '(' token
luascript.h:484: error: expected `;' before '(' token
luascript.h:485: error: expected `;' before '(' token
luascript.h:486: error: expected `;' before '(' token
luascript.h:487: error: expected `;' before '(' token

luascript.h:488: error: expected `;' before '(' token
luascript.h:489: error: expected `;' before '(' token
luascript.h:490: error: expected `;' before '(' token
luascript.h:491: error: expected `;' before '(' token
luascript.h:492: error: expected `;' before '(' token
luascript.h:494: error: expected `;' before '(' token
luascript.h:495: error: expected `;' before '(' token
luascript.h:496: error: expected `;' before '(' token
luascript.h:497: error: expected `;' before '(' token
luascript.h:499: error: expected `;' before '(' token
luascript.h:500: error: expected `;' before '(' token
luascript.h:503: error: expected `;' before '(' token
luascript.h:504: error: expected `;' before '(' token
luascript.h:506: error: expected `;' before '(' token
luascript.h:507: error: expected `;' before '(' token
luascript.h:509: error: expected `;' before '(' token

luascript.h:510: error: expected `;' before '(' token
luascript.h:512: error: expected `;' before '(' token
luascript.h:514: error: expected `;' before '(' token
luascript.h:515: error: expected `;' before '(' token
luascript.h:516: error: expected `;' before '(' token
luascript.h:517: error: expected `;' before '(' token
luascript.h:519: error: expected `;' before '(' token
luascript.h:520: error: expected `;' before '(' token
luascript.h:521: error: expected `;' before '(' token
luascript.h:523: error: expected `;' before '(' token
luascript.h:525: error: expected `;' before '(' token
luascript.h:526: error: expected `;' before '(' token
luascript.h:527: error: expected `;' before '(' token
luascript.h:528: error: expected `;' before '(' token
luascript.h:529: error: expected `;' before '(' token
luascript.h:530: error: expected `;' before '(' token

luascript.h:532: error: expected `;' before '(' token
luascript.h:533: error: expected `;' before '(' token
luascript.h:534: error: expected `;' before '(' token
luascript.h:535: error: expected `;' before '(' token
luascript.h:536: error: expected `;' before '(' token
luascript.h:537: error: expected `;' before '(' token
luascript.h:538: error: expected `;' before '(' token
luascript.h:540: error: expected `;' before '(' token
luascript.h:541: error: expected `;' before '(' token
luascript.h:542: error: expected `;' before '(' token
luascript.h:543: error: expected `;' before '(' token
luascript.h:545: error: expected `;' before '(' token
luascript.h:546: error: expected `;' before '(' token
luascript.h:548: error: expected `;' before '(' token
luascript.h:549: error: expected `;' before '(' token
luascript.h:550: error: expected `;' before '(' token

luascript.h:552: error: expected `;' before '(' token
luascript.h:554: error: expected `;' before '(' token
luascript.h:556: error: expected `;' before '(' token
luascript.h:559: error: expected `;' before '(' token
luascript.h:561: error: `luaL_Reg' does not name a type
luascript.h:562: error: expected `;' before '(' token
luascript.h:563: error: expected `;' before '(' token
luascript.h:564: error: expected `;' before '(' token
luascript.h:565: error: expected `;' before '(' token
luascript.h:566: error: expected `;' before '(' token
luascript.h:567: error: expected `;' before '(' token
luascript.h:569: error: ISO C++ forbids declaration of `lua_State' with no type

luascript.h:569: error: expected `;' before '*' token

In file included from creatureevent.h:25,
                 from creature.h:33,
                 from player.h:25,
                 from actions.cpp:24:
baseevents.h:44: error: `xmlNodePtr' has not been declared
baseevents.h:44: error: ISO C++ forbids declaration of `p' with no type

baseevents.h:57: error: `configureEvent' declared as a `virtual' field
baseevents.h:57: error: expected `;' before '(' token
In file included from creature.h:33,
                 from player.h:25,
                 from actions.cpp:24:

creatureevent.h:57: error: `xmlNodePtr' has not been declared
creatureevent.h:57: error: ISO C++ forbids declaration of `p' with no type

creatureevent.h:79: error: `configureEvent' declared as a `virtual' field
creatureevent.h:79: error: expected `;' before '(' token

In file included from player.h:26,
                 from actions.cpp:24:
container.h:44: error: `unserialize' declared as a `virtual' field
container.h:44: error: expected `;' before '(' token
container.h:45: error: `xmlNodePtr' does not name a type

In file included from player.h:27,
                 from actions.cpp:24:
depot.h:36: error: `unserialize' declared as a `virtual' field
depot.h:36: error: expected `;' before '(' token
depot.h:37: error: `xmlNodePtr' does not name a type

In file included from protocolgame.h:26,
                 from player.h:32,
                 from actions.cpp:24:
protocol.h:25:29: boost/utility.hpp: No such file or directory
In file included from protocol.h:26,
                 from protocolgame.h:26,
                 from player.h:32,
                 from actions.cpp:24:

outputmessage.h:35: error: `boost' has not been declared
outputmessage.h:36: error: expected class-name before '{' token

In file included from protocolgame.h:26,
                 from player.h:32,
                 from actions.cpp:24:
protocol.h:31: error: `boost' has not been declared
protocol.h:32: error: expected class-name before '{' token

In file included from monster.h:26,
                 from actions.cpp:25:
monsters.h:162: error: expected `;' before '(' token
monsters.h:166: error: expected `;' before '(' token
monsters.h:167: error: expected `;' before '(' token

In file included from actions.cpp:26:
npc.h:41: error: expected `;' before '(' token
npc.h:42: error: expected `;' before '(' token
npc.h:43: error: expected `;' before '(' token
npc.h:44: error: expected `;' before '(' token
npc.h:45: error: expected `;' before '(' token
npc.h:46: error: expected `;' before '(' token
npc.h:47: error: expected `;' before '(' token
npc.h:48: error: expected `;' before '(' token
npc.h:49: error: expected `;' before '(' token
npc.h:50: error: expected `;' before '(' token
npc.h:51: error: expected `;' before '(' token

In file included from map.h:34,
                 from game.h:28,
                 from actions.cpp:27:
tools.h:35:31: boost/tokenizer.hpp: No such file or directory
In file included from map.h:34,
                 from game.h:28,
                 from actions.cpp:27:
tools.h:36: error: `boost' has not been declared
tools.h:36: error: expected init-declarator before '<' token
tools.h:36: error: expected `,' or `;' before '<' token

tools.h:54: error: `xmlNodePtr' was not declared in this scope

tools.h:54: error: expected primary-expression before "const"
tools.h:54: error: expected primary-expression before "int"
tools.h:54: error: initializer expression list treated as compound expression
tools.h:55: error: `xmlNodePtr' was not declared in this scope
tools.h:55: error: expected primary-expression before "const"
tools.h:55: error: expected primary-expression before "float"
tools.h:55: error: initializer expression list treated as compound expression
tools.h:56: error: `xmlNodePtr' was not declared in this scope
tools.h:56: error: expected primary-expression before "const"
tools.h:56: error: expected primary-expression before '&' token
tools.h:56: error: `value' was not declared in this scope
tools.h:56: error: initializer expression list treated as compound expression
tools.h:73: error: `tokenizer' has not been declared
tools.h:73: error: `iterator' was not declared in this scope
tools.h:73: error: `it' was not declared in this scope
tools.h:73: error: `tokenizer' has not been declared
tools.h:73: error: `iterator' was not declared in this scope

In file included from game.h:35,
                 from actions.cpp:27:
scheduler.h:24:30: boost/function.hpp: No such file or directory
scheduler.h:25:26: boost/bind.hpp: No such file or directory
In file included from scheduler.h:31,

                 from game.h:35,
                 from actions.cpp:27:
tasks.h:38: error: `boost' has not been declared
tasks.h:38: error: expected `)' before '<' token
tasks.h:42: error: `boost' has not been declared
tasks.h:42: error: ISO C++ forbids declaration of `function' with no type
tasks.h:42: error: expected `;' before '<' token
tasks.h:44: error: `boost' has not been declared
tasks.h:44: error: `createTask' is neither function nor member function; cannot be declared friend
tasks.h:44: error: expected `;' before '(' token
tasks.h: In member function `void Task::operator()()':
tasks.h:34: error: `m_f' undeclared (first use this function)
tasks.h:34: error: (Each undeclared identifier is reported only once for each function it appears in.)
tasks.h: At global scope:
tasks.h:47: error: `boost' has not been declared

tasks.h:47: error: `createTask' declared as an `inline' variable
tasks.h:47: error: `function' was not declared in this scope

tasks.h:47: error: expected primary-expression before "void"
tasks.h:47: error: expected `,' or `;' before '{' token

In file included from game.h:35,
                 from actions.cpp:27:
scheduler.h:49: error: `boost' has not been declared
scheduler.h:49: error: `function' has not been declared
scheduler.h:49: error: expected `,' or `...' before '<' token
scheduler.h:49: error: ISO C++ forbids declaration of `parameter' with no type
scheduler.h:58: error: `boost' has not been declared
scheduler.h:58: error: `function' has not been declared
scheduler.h:58: error: expected `,' or `...' before '<' token
scheduler.h:58: error: ISO C++ forbids declaration of `parameter' with no type

scheduler.h: In constructor `SchedulerTask::SchedulerTask(uint32_t, int)':
scheduler.h:49: error: `f' undeclared (first use this function)
scheduler.h: At global scope:
scheduler.h:61: error: `boost' has not been declared
scheduler.h:61: error: `function' has not been declared
scheduler.h:61: error: expected `,' or `...' before '<' token
scheduler.h:62: error: ISO C++ forbids declaration of `parameter' with no type
scheduler.h: In function `SchedulerTask* createSchedulerTask(uint32_t, int)':
scheduler.h:63: error: `f' undeclared (first use this function)

In file included from iologindata.h:27,
                 from game.h:37,
                 from actions.cpp:27:
database.h:34:26: mysql/mysql.h: No such file or directory
In file included from iologindata.h:27,
                 from game.h:37,
                 from actions.cpp:27:

database.h: At global scope:
database.h:129: error: variable or field `addRow' declared void
database.h:129: error: expected `;' before '(' token

In file included from actions.cpp:32:
house.h:28:27: boost/regex.hpp: No such file or directory
In file included from actions.cpp:32:
house.h:58: error: `boost' has not been declared
house.h:58: error: `regex' was not declared in this scope
house.h:58: error: template argument 1 is invalid
house.h:58: error: template argument 1 is invalid
house.h:58: error: template argument 2 is invalid
house.h:58: error: ISO C++ forbids declaration of `RegExList' with no type

house.h:78: error: `unserialize' declared as a `virtual' field

house.h:78: error: expected `;' before '(' token
house.h:79: error: `xmlNodePtr' does not name a type

In file included from spells.h:27,
                 from actions.cpp:35:
actions.h:59: error: `xmlNodePtr' has not been declared
actions.h:59: error: ISO C++ forbids declaration of `p' with no type

actions.h:85: error: `configureEvent' declared as a `virtual' field
actions.h:85: error: expected `;' before '(' token

In file included from spells.h:28,
                 from actions.cpp:35:
talkaction.h:52: error: `xmlNodePtr' has not been declared
talkaction.h:52: error: ISO C++ forbids declaration of `p' with no type

talkaction.h:67: error: `configureEvent' declared as a `virtual' field
talkaction.h:67: error: expected `;' before '(' token

In file included from actions.cpp:35:
spells.h:64: error: `xmlNodePtr' has not been declared
spells.h:64: error: ISO C++ forbids declaration of `p' with no type

spells.h:95: error: `configureEvent' declared as a `virtual' field
spells.h:95: error: expected `;' before '(' token
spells.h:98: error: expected `;' before "bool"

spells.h:117: error: expected `;' before '(' token

spells.h:174: error: `configureEvent' declared as a `virtual' field
spells.h:174: error: expected `;' before '(' token

spells.h:219: error: `configureEvent' declared as a `virtual' field
spells.h:219: error: expected `;' before '(' token

spells.h:256: error: `configureEvent' declared as a `virtual' field
spells.h:256: error: expected `;' before '(' token

In file included from actions.cpp:36:
configmanager.h:140: error: expected `;' before '(' token

configmanager.h:141: error: expected `;' before '(' token
configmanager.h:142: error: expected `;' before '(' token

In file included from actions.cpp:37:
beds.h:43: error: `unserialize' declared as a `virtual' field
beds.h:43: error: expected `;' before '(' token
beds.h:44: error: expected `;' before "virtual"
beds.h:44: error: `xmlNodePtr' does not name a type

actions.cpp:100: error: `xmlNodePtr' has not been declared
actions.cpp:101: error: ISO C++ forbids declaration of `p' with no type

actions.cpp: In member function `virtual bool Actions::registerEvent(Event*, int)':
actions.cpp:107: error: `readXMLInteger' cannot be used as a function
actions.cpp:109: error: `readXMLInteger' cannot be used as a function
actions.cpp:109: error: `readXMLInteger' cannot be used as a function
actions.cpp:115: error: `readXMLInteger' cannot be used as a function
actions.cpp:117: error: `readXMLInteger' cannot be used as a function
actions.cpp:117: error: `readXMLInteger' cannot be used as a function
actions.cpp:123: error: `readXMLInteger' cannot be used as a function
actions.cpp:125: error: `readXMLInteger' cannot be used as a function
actions.cpp:125: error: `readXMLInteger' cannot be used as a function

actions.cpp: At global scope:
actions.cpp:427: error: `bool Action::configureEvent' is not a static member of `class Action'
actions.cpp:427: error: `xmlNodePtr' was not declared in this scope
actions.cpp:428: error: expected `,' or `;' before '{' token

actions.cpp: In member function `virtual bool Action::executeUse(Player*, Item*, const PositionEx&, const PositionEx&, bool, uint32_t)':
actions.cpp:537: error: `lua_State' undeclared (first use this function)
actions.cpp:537: error: `L' undeclared (first use this function)
actions.cpp:537: error: 'class LuaScriptInterface' has no member named 'getLuaState'
actions.cpp:540: error: `lua_pushnumber' undeclared (first use this function)
actions.cpp:541: error: `pushThing' is not a member of `LuaScriptInterface'
actions.cpp:542: error: `pushPosition' is not a member of `LuaScriptInterface'
actions.cpp:548: error: `pushThing' is not a member of `LuaScriptInterface'
actions.cpp:549: error: `pushPosition' is not a member of `LuaScriptInterface'
actions.cpp:553: error: `pushThing' is not a member of `LuaScriptInterface'
actions.cpp:555: error: `pushPosition' is not a member of `LuaScriptInterface'

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

Wykonanie zakończone
 
Problems?

I followed all the instructions and I have received the following...



Problems2.jpg




Could anyone help me out?


Thank you.
 
Uploaded new sources (rev687, tags/0.2).
Uploaded version 1.4, I recommend everyone to update from version 1.3 to 1.4.
 
Can't compile with 1.4:
Code:
Compiler: Default compiler
Building Makefile: "C:\nightmare\tfs-svn\tags\0.2\Makefile.win"
Executing  make...
make.exe -f "C:\nightmare\tfs-svn\tags\0.2\Makefile.win" all
windres.exe -i TheForgottenServer_private.rc --input-format=rc -o TheForgottenServer_private.res -O coff 

g++.exe account.o actions.o admin.o allocator.o ban.o baseevents.o beds.o chat.o combat.o commands.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemysql.o depot.o exception.o fileloader.o game.o gui.o house.o housetile.o inputbox.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o playerbox.o position.o protocol.o protocolgame.o protocollogin.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o TheForgottenServer_private.res -o "TheForgottenServer.exe" -L"lib" -mwindows -O1 -lboost_system -lgmp -lluasql-mysql -llua5.1 -lmysql -lregex -lwsock32 -lxml2 -lmysql -lws2_32 -s  

ld: cannot find -lluasql-mysql

make.exe: *** [TheForgottenServer.exe] Error 1

Execution terminated
 
You have to use the new project file.
 
I cannot too.

Use these parameters.

C++ compiler:

Code:
-D__CONSOLE__
-D__USE_MYSQL__
-D__USE_SQLITE__

Linker:
Code:
-lxml2.dll
-lmysql
-lsqlite3
-lluasql_mysql
-lluasql_sqlite
-llua5.1
-lboost_system
-lboost_regex
-lws2_32
-lgmp
-lmswsock
-O1
-s
 
I have this error:

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\kris\Pulpit\Dev-Cpp\Source\Dev\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\kris\Pulpit\Dev-Cpp\Source\Dev\Makefile.win" all
g++.exe ../account.o ../actions.o ../admin.o ../allocator.o ../ban.o ../baseevents.o ../beds.o ../chat.o ../combat.o ../commands.o ../condition.o ../configmanager.o ../connection.o ../container.o ../creature.o ../creatureevent.o ../cylinder.o ../database.o ../databasemysql.o ../databasesqlite.o ../depot.o ../exception.o ../fileloader.o ../game.o ../gui.o ../house.o ../housetile.o ../inputbox.o ../ioguild.o ../iologindata.o ../iomap.o ../iomapserialize.o ../item.o ../items.o ../logger.o ../luascript.o ../mailbox.o ../map.o ../md5.o ../monster.o ../monsters.o ../movement.o ../networkmessage.o ../npc.o ../otserv.o ../outfit.o ../outputmessage.o ../party.o ../player.o ../playerbox.o ../position.o ../protocol.o ../protocolgame.o ../protocollogin.o ../quests.o ../raids.o ../rsa.o ../scheduler.o ../scriptmanager.o ../server.o ../sha1.o ../spawn.o ../spells.o ../status.o ../talkaction.o ../tasks.o ../teleport.o ../textlogger.o ../thing.o ../tile.o ../tools.o ../trashholder.o ../vocation.o ../waitlist.o ../weapons.o RoxOTServer_private.res -o "RoxOTServer.exe" -L"C:/Documents and Settings/kris/Pulpit/Dev-Cpp/lib" -L"C:/Dev-Cpp/lib" -lxml2.dll -lmysql -lsqlite3 -lluasql_mysql -lluasql_sqlite -llua5.1 -lboost_system -lboost_regex -lws2_32 -lgmp -lmswsock -O1 -s

../gui.o:gui.cpp:(.text+0x223): undefined reference to `_CreateFontIndirectA@4'
../inputbox.o:inputbox.cpp:(.text+0x467): undefined reference to `_CreateFontIndirectA@4'
../inputbox.o:inputbox.cpp:(.text+0x6f9): undefined reference to `_DeleteObject@4'

make.exe: *** [RoxOTServer.exe] Error 1

Execution terminated

Please help me!
 
Downloaded this but I keep getting this error:

Code:
Compiler: Default compiler
Building Makefile: "F:\OT Server\Distros\Mystic Spirit\0.2\Makefile.win"
Executing  make clean
rm -f account.o actions.o admin.o allocator.o ban.o baseevents.o beds.o chat.o combat.o commands.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemysql.o databasesqlite.o depot.o exception.o fileloader.o game.o gui.o house.o housetile.o inputbox.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o playerbox.o position.o protocol.o protocolgame.o protocollogin.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o Forgotten_Server_private.res "Forgotten Server.exe"

g++.exe -c account.cpp -o account.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"  -D__USE_MYSQL__ -D__USE_SQLITE__  

g++.exe -c actions.cpp -o 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"  -D__USE_MYSQL__ -D__USE_SQLITE__  

In file included from creatureevent.h:24,
                 from creature.h:33,
                 from player.h:25,
                 from actions.cpp:24:
luascript.h:572: error: `luaL_Reg' does not name a type

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

Execution terminated
 
can't compile

Hello tala,

I am having problem with new Dev 1.4 and using your project file 687 Rev
posting my error:

Code:
-lluasql_mysql -lluasql_sqlite -llua5.1 -lboost_system -lboost_regex -lws2_32 -lgmp -lmswsock -O1 -s  

database.o(.text+0x1e67):database.cpp: undefined reference to `mysql_escape_string@12'
databasemysql.o(.text+0x496):databasemysql.cpp: undefined reference to `mysql_init@4'
databasemysql.o(.text+0x5d8):databasemysql.cpp: undefined reference to `mysql_real_connect@32'
databasemysql.o(.text+0x5ed):databasemysql.cpp: undefined reference to `mysql_error@4'
databasemysql.o(.text+0x661):databasemysql.cpp: undefined reference to `mysql_close@4'
databasemysql.o(.text+0x734):databasemysql.cpp: undefined reference to `mysql_real_query@12'
databasemysql.o(.text+0x74d):databasemysql.cpp: undefined reference to `mysql_error@4'
databasemysql.o(.text+0x83c):databasemysql.cpp: undefined reference to `mysql_errno@4'
databasemysql.o(.text+0x9eb):databasemysql.cpp: undefined reference to `mysql_real_escape_string@16'
databasemysql.o(.text+0xbd9):databasemysql.cpp: undefined reference to `mysql_store_result@4'
databasemysql.o(.text+0xbf7):databasemysql.cpp: undefined reference to `mysql_error@4'
databasemysql.o(.text+0xc77):databasemysql.cpp: undefined reference to `mysql_errno@4'
databasemysql.o(.text+0xcbc):databasemysql.cpp: undefined reference to `mysql_num_fields@4'
databasemysql.o(.text+0xcd8):databasemysql.cpp: undefined reference to `mysql_fetch_fields@4'
databasemysql.o(.text+0xe1b):databasemysql.cpp: undefined reference to `mysql_fetch_row@4'
databasemysql.o(.text+0xe32):databasemysql.cpp: undefined reference to `mysql_fetch_lengths@4'
databasemysql.o(.text+0xe6f):databasemysql.cpp: undefined reference to `mysql_free_result@4'
databasemysql.o(.text+0xef6):databasemysql.cpp: undefined reference to `mysql_rollback@4'
databasemysql.o(.text+0xf0b):databasemysql.cpp: undefined reference to `mysql_error@4'
databasemysql.o(.text+0xf88):databasemysql.cpp: undefined reference to `mysql_commit@4'
databasemysql.o(.text+0xf9d):databasemysql.cpp: undefined reference to `mysql_error@4'
luascript.o(.text+0x320b):luascript.cpp: undefined reference to `luaopen_luasql_mysql'
luascript.o(.text+0x3222):luascript.cpp: undefined reference to `luaopen_luasql_sqlite3'

make.exe: *** ["The] Error 1

Execução terminada

What is my problem?
 
I have all the parameters and linkers already set manually man. But I tried to download the project file either way and dev-c++ was more than happy to give me the same errors, lol. Does anyone know what's giving me these errors? :S
 
Probably something that isn't done in the SVN, wait a couple of days and I'm sure it'll be fixed.
 
Well, I've had this problem for a while now so I don't know. :( I've tried with regular dev-c++ then with this one but nothing works for me I just keep getting that annoying error lol. I try to rebuild all and can't even get past compiling actions before it gives me that.

Malkirion
 
Ok, well I am having a problem. " cannot find -lxml2.dll ", I've re-downloaded the latest SVN, this latest Dev and yet I am still getting this error. I've never had a problem with it before (nor can I find anywhere on my computer that linker).

[Edit]
Some odd reason it was my OS that wouldn't allow it to run. Put it on a different one (another fresh install, just like mine was) and it worked just fine.
 
Last edited:
Can anyone PLZ help me? I have no idea what i've done wrong or something. I downloaded everything..!
this is what's in my map called: Mystic Spirit.

Map: Data
Map: Doc
Config.lua
forgottenserver.s3db
forgottenserver.sql
Program: The Forgotten Server
otdll-v14.7z
theforgottendevcpp-v14.7z
theforgottenserver-r687-src.7z

And this is the ******* Error I ALLWAYS get:

This application has failed to start because lua5.1.dll was not founs. Re-installing the application may fix this problem.

PLZ someone help me, I donwloaded every dll thing at the forum of tfs but it's still giving that error.. i Hate that error.. I didn't have these problems at the older tfs serv
 
Did you put the *.dll files in the same folder as your Server's *.exe file?
 
if the *.dll files is the same as otdll-v14.7z, yes.
i have just downloaded TFS and i putted this in it( in the map where the tfs starter is):

otdll-v14.7, theforgottendevcppv14-7z and theforgottenserver-r687-src.7z.
I gues those are the *.dll files..
 
Status
Not open for further replies.
Back
Top