• 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!

Compiling Compiling The Forgotten Server latest source code - Last Update: 02/12/2010

This is the best server! Thank you very much! Keep up the good work!!! When i get money i will donate some
 
Last edited:
I could use some help, 159 errors. Using the same program as listed.

Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c "../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/account.cpp" -o "../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/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__ -D__SERVER_PROTECTION__ g++.exe -c "../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp" -o "../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/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__SERVER_PROTECTION__ In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creature.h:29,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:25,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:29:30: libxml/xmlmemory.h: No such file or directory
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:30:27: libxml/parser.h: No such file or directory
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creature.h:29,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:25,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:136: error: `xmlNodePtr' does not name a type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:137: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:137: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:193: error: `xmlNodePtr' does not name a type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:194: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:194: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:224: error: `xmlNodePtr' does not name a type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:225: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:225: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:253: error: `xmlNodePtr' does not name a type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:254: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:254: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:299: error: `xmlNodePtr' does not name a type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:300: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:300: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:347: error: `xmlNodePtr' does not name a type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:348: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:348: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:382: error: `xmlNodePtr' does not name a type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:383: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:383: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:411: error: `xmlNodePtr' does not name a type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:412: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/condition.h:412: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tile.h:27,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creature.h:31,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:25,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/item.h:267: error: `unserialize' declared as a `virtual' field ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/item.h:267: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/item.h:268: error: `xmlNodePtr' does not name a type In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creatureevent.h:25,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creature.h:33,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:25, from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24: ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/baseevents.h:44: error: `xmlNodePtr' has not been declared ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/baseevents.h:44: error: ISO C++ forbids declaration of `p' with no type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/baseevents.h:57: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/baseevents.h:57: error: expected `;' before '(' token
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creature.h:33, from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:25,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creatureevent.h:57: error: `xmlNodePtr' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creatureevent.h:57: error: ISO C++ forbids declaration of `p' with no type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creatureevent.h:79: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/creatureevent.h:79: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:26,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/container.h:45: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/container.h:45: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/container.h:46: error: `xmlNodePtr' does not name a type In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:27,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/depot.h:36: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/depot.h:36: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/depot.h:37: error: `xmlNodePtr' does not name a type In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocolgame.h:26,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:32, from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24: ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocol.h:25:29: boost/utility.hpp: No such file or directory
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocol.h:26,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocolgame.h:26,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:32,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/outputmessage.h:35: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/outputmessage.h:36: error: expected class-name before '{' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocolgame.h:26,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/player.h:32, from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:24: ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocol.h:31: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/protocol.h:32: error: expected class-name before '{' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/monster.h:26,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:25:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/monsters.h:162: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/monsters.h:166: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/monsters.h:167: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/map.h:34,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:28,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:35:31: boost/tokenizer.hpp: No such file or directory
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/map.h:34,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:28,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:36: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:36: error: expected init-declarator before '<' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:36: error: expected `,' or `;' before '<' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:54: error: `xmlNodePtr' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:54: error: expected primary-expression before "const"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:54: error: expected primary-expression before "int"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:54: error: initializer expression list treated as compound expression ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:55: error: `xmlNodePtr' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:55: error: expected primary-expression before "const"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:55: error: expected primary-expression before "float"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:55: error: initializer expression list treated as compound expression
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:56: error: `xmlNodePtr' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:56: error: expected primary-expression before "const"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:56: error: expected primary-expression before '&' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:56: error: `value' was not declared in this scope ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:56: error: initializer expression list treated as compound expression
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:73: error: `tokenizer' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:73: error: `iterator' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:73: error: `it' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:73: error: `tokenizer' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tools.h:73: error: `iterator' was not declared in this scope In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:35,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:24:30: boost/function.hpp: No such file or directory
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:25:26: boost/bind.hpp: No such file or directory
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:31,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:35,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:38: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:38: error: expected `)' before '<' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:42: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:42: error: ISO C++ forbids declaration of `function' with no type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:42: error: expected `;' before '<' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:44: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:44: error: `createTask' is neither function nor member function; cannot be declared friend ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:44: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h: In member function `void Task::eek:perator()()':
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:34: error: `m_f' undeclared (first use this function)
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:34: error: (Each undeclared identifier is reported only once for each function it appears in.)
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h: At global scope:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:47: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:47: error: `createTask' declared as an `inline' variable
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:47: error: `function' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:47: error: expected primary-expression before "void"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/tasks.h:47: error: expected `,' or `;' before '{' token
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:35,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:51: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:51: error: `function' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:51: error: expected `,' or `...' before '<' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:51: error: ISO C++ forbids declaration of `parameter' with no type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:60: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:60: error: `function' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:60: error: expected `,' or `...' before '<' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:60: error: ISO C++ forbids declaration of `parameter' with no type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h: In constructor `SchedulerTask::SchedulerTask(uint32_t, int)':
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:51: error: `f' undeclared (first use this function)
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h: At global scope:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:63: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:63: error: `function' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:63: error: expected `,' or `...' before '<' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:64: error: ISO C++ forbids declaration of `parameter' with no type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h: In function `SchedulerTask* createSchedulerTask(uint32_t, int)':
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/scheduler.h:68: error: `f' undeclared (first use this function) In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/iologindata.h:27,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:37,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/database.h:34:25: mysql/mysql.h: No such file or directory
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/iologindata.h:27,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/game.h:37,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:27:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/database.h: At global scope:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/database.h:129: error: variable or field `addRow' declared void ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/database.h:129: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:32: ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:28:27: boost/regex.hpp: No such file or directory
In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:32:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:58: error: `boost' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:58: error: `regex' was not declared in this scope
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:58: error: template argument 1 is invalid
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:58: error: template argument 1 is invalid
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:58: error: template argument 2 is invalid
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:58: error: ISO C++ forbids declaration of `RegExList' with no type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:78: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:78: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/house.h:79: error: `xmlNodePtr' does not name a type In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:27,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:35:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.h:59: error: `xmlNodePtr' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.h:59: error: ISO C++ forbids declaration of `p' with no type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.h:85: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.h:85: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:28,
from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:35:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/talkaction.h:52: error: `xmlNodePtr' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/talkaction.h:52: error: ISO C++ forbids declaration of `p' with no type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/talkaction.h:67: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/talkaction.h:67: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:35: ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:64: error: `xmlNodePtr' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:64: error: ISO C++ forbids declaration of `p' with no type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:95: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:95: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:98: error: expected `;' before "bool" ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:117: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:174: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:174: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:219: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:219: error: expected `;' before '(' token ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:256: error: `configureEvent' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/spells.h:256: error: expected `;' before '(' token In file included from ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:37: ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/beds.h:43: error: `unserialize' declared as a `virtual' field
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/beds.h:43: error: expected `;' before '(' token
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/beds.h:44: error: expected `;' before "virtual"
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/beds.h:44: error: `xmlNodePtr' does not name a type ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:98: error: `xmlNodePtr' has not been declared
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:99: error: ISO C++ forbids declaration of `p' with no type
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp: In member function `virtual bool Actions::registerEvent(Event*, int)':
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:105: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:107: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:107: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:113: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:115: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:115: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:121: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:123: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:123: error: `readXMLInteger' cannot be used as a function ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp: At global scope:
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:420: error: `bool Action::configureEvent' is not a static member of `class Action'
../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:420: error: `xmlNodePtr' was not declared in this scope ../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.cpp:421: error: expected `,' or `;' before '{' token make.exe: *** ["../Documents and Settings/*.*/Desktop/TFS SVN/TFS SVN Sourc/forgottenserver/forgottenserver/tags/0.2/actions.o"] Error 1 Execution terminated

whaaat exactly happened?
 
i have problem
Code:
../../../../Programy do Otsa/source/database.o(.text+0x1e67):database.cpp: undefined reference to `mysql_escape_string@12'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x496):databasemysql.cpp: undefined reference to `mysql_init@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x5d8):databasemysql.cpp: undefined reference to `mysql_real_connect@32'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x5ed):databasemysql.cpp: undefined reference to `mysql_error@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x661):databasemysql.cpp: undefined reference to `mysql_close@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x734):databasemysql.cpp: undefined reference to `mysql_real_query@12'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x74d):databasemysql.cpp: undefined reference to `mysql_error@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x83c):databasemysql.cpp: undefined reference to `mysql_errno@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0x9eb):databasemysql.cpp: undefined reference to `mysql_real_escape_string@16'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xbd9):databasemysql.cpp: undefined reference to `mysql_store_result@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xbf7):databasemysql.cpp: undefined reference to `mysql_error@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xc77):databasemysql.cpp: undefined reference to `mysql_errno@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xcbc):databasemysql.cpp: undefined reference to `mysql_num_fields@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xcd8):databasemysql.cpp: undefined reference to `mysql_fetch_fields@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xe1b):databasemysql.cpp: undefined reference to `mysql_fetch_row@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xe32):databasemysql.cpp: undefined reference to `mysql_fetch_lengths@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xe6f):databasemysql.cpp: undefined reference to `mysql_free_result@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xef6):databasemysql.cpp: undefined reference to `mysql_rollback@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xf0b):databasemysql.cpp: undefined reference to `mysql_error@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xf88):databasemysql.cpp: undefined reference to `mysql_commit@4'
../../../../Programy do Otsa/source/databasemysql.o(.text+0xf9d):databasemysql.cpp: undefined reference to `mysql_error@4'

../../../../Programy do Otsa/source/luascript.o(.text+0x3e45):luascript.cpp: undefined reference to `luaopen_luasql_mysql'
../../../../Programy do Otsa/source/luascript.o(.text+0x3e5c):luascript.cpp: undefined reference to `luaopen_luasql_sqlite3'

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

Wykonanie zakończone
 
Error...

Why do i get those errors?.....



Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Gabi\Skrivbord\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Gabi\Skrivbord\Makefile.win" all
g++.exe -c src/connection.cpp -o src/connection.o -I"C:/Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__

In file included from C:/Dev-Cpp/include/boost/asio/io_service.hpp:26,
from C:/Dev-Cpp/include/boost/asio/basic_io_object.hpp:20,
from C:/Dev-Cpp/include/boost/asio/basic_socket.hpp:24,
from C:/Dev-Cpp/include/boost/asio/basic_datagram_socket.hpp:25,
from C:/Dev-Cpp/include/boost/asio.hpp:20,
from src/connection.h:25,
from src/connection.cpp:22:
C:/Dev-Cpp/include/boost/system/error_code.hpp:116: error: `WSAEWOULDBLOCK' was not declared in this scope
C:/Dev-Cpp/include/boost/system/error_code.hpp:116: error: enumerator value for `operation_would_block' not integer constant

make.exe: *** [src/connection.o] Error 1

Execution terminated
 
Last edited:
Why do i get those errors?.....



Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Gabi\Skrivbord\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Gabi\Skrivbord\Makefile.win" all
g++.exe -c src/connection.cpp -o src/connection.o -I"C:/Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__

In file included from C:/Dev-Cpp/include/boost/asio/io_service.hpp:26,
from C:/Dev-Cpp/include/boost/asio/basic_io_object.hpp:20,
from C:/Dev-Cpp/include/boost/asio/basic_socket.hpp:24,
from C:/Dev-Cpp/include/boost/asio/basic_datagram_socket.hpp:25,
from C:/Dev-Cpp/include/boost/asio.hpp:20,
from src/connection.h:25,
from src/connection.cpp:22:
C:/Dev-Cpp/include/boost/system/error_code.hpp:116: error: `WSAEWOULDBLOCK' was not declared in this scope
C:/Dev-Cpp/include/boost/system/error_code.hpp:116: error: enumerator value for `operation_would_block' not integer constant

make.exe: *** [src/connection.o] Error 1

Execution terminated

Hi,

You should download the last sources from TFS Source Forge Directory and you should make a folder inside the tags folder (on TFS directory) called Project or something like that, doing that I think that you will not have these errors.
 
worked perfect for me.

took some tweaking to move it to Visual. but great tutorial none the less.

Thanks
 
Well i only have this error...

Code:
../otserv.o:otserv.cpp:(.text+0xfe): multiple definition of `_main'
zartha.o:zartha.cpp:(.text+0xfe): first defined here

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

Execução terminada

Can some one help me? =/
 
Mmmm.... i have 1 error :)
compilingerror1xo6.png

compilingerror2zc5.png

compilingerror3el9.png


Can you help me :) :thumbup:
 
Compiler: Default compiler
Building Makefile: "E:\otupdates\8.11\tfs\tags\0.2\titaniumdev\Makefile.win"
Executing make...
make.exe -f "E:\otupdates\8.11\tfs\tags\0.2\titaniumdev\Makefile.win" all
windres.exe -i titanium_private.rc --input-format=rc -o titanium_private.res -O coff

g++.exe -D__DEBUG__ ../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 titanium_private.res -o "titanium.exe" -L"e:/Dev-Cpp/lib" -L"E:/Dev-Cpp/others/lua-5.1/lib" -L"C:/Dev-Cpp/lib" -L"E:/Dev-Cpp/others/boost_asio_0_3_8" -mwindows -lasio -llua5.1 -lws2_32 -lgmp -lmswsock -O1 -s C:/Dev-Cpp/lib/libluasql_sqlite.a C:/Dev-Cpp/lib/libluasql_mysql.a C:/Dev-Cpp/lib/libboost_system.a C:/Dev-Cpp/lib/libboost_regex.a -llibxml2 C:/Dev-Cpp/lib/libmysql.a C:/Dev-Cpp/lib/libsqlite3.a -g3

../luascript.o(.text+0x320d): In function `ZN18LuaScriptInterface9initStateEv':
E:/Dev-Cpp/titaniumdev/../../otupdates/8.11/tfs/tags/0.2/luascript.cpp:623: undefined reference to `luaopen_luasql_mysql'
../luascript.o(.text+0x3224):E:/Dev-Cpp/titaniumdev/../../otupdates/8.11/tfs/tags/0.2/luascript.cpp:627: undefined reference to `luaopen_luasql_sqlite3'
collect2: ld returned 1 exit status

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

Execution terminated


Damn i dont know what to do now, this sux im wasting now many hours to bring that working... Whats wrong? ty for help.

He cant find luaopen for sql and sql lite, looks like he has trouble with LuaSQL



my linker:

-lasio

-llibxml2
-llua5.1
-lws2_32
-lgmp
-lmswsock
-O1
-s

C:/Dev-Cpp/lib/libboost_system.a
C:/Dev-Cpp/lib/libboost_regex.a

C:/Dev-Cpp/lib/libmysql.a
C:/Dev-Cpp/lib/libsqlite3.a

C:/Dev-Cpp/lib/libluasql_mysql.a
C:/Dev-Cpp/lib/libluasql_sqlite.a


my: compiler stuff:
-D__USE_MYSQL__
-D__USE_SQLITE__





FIXEEEEDDDD!!!!

Lissen all who had similar problems:)

Please uninstall old dev-cpp before instaling dev-cpp of forgotten server or else it wont work correctly!!!
that is the solution
 
Last edited:
Hello!

I think that I do al perfect and I get this error:

Compilador: Default compiler
Building Makefile: "C:\Documents and Settings\Teixe\Escritorio\Mystic Spirit\TFS Sources Rev693\forgottenserver\trunk\Makefile.win"
Ejecutando make...
make.exe -f "C:\Documents and Settings\Teixe\Escritorio\Mystic Spirit\TFS Sources Rev693\forgottenserver\trunk\Makefile.win" all
g++.exe -c connection.cpp -o connection.o -I"include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__CONSOLE__

In file included from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/io_service.hpp:26,
from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/basic_io_object.hpp:20,
from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/basic_socket.hpp:24,
from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/basic_datagram_socket.hpp:25,
from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio.hpp:20,
from connection.h:25,
from connection.cpp:22:
C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/system/error_code.hpp:116: error: `WSAEWOULDBLOCK' was not declared in this scope

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/system/error_code.hpp:116: error: enumerator value for `operation_would_block' not integer constant

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

Ejecución Terminada

Please any help would be preciated!

A greeting!
 
WOW GREAT tutorial man. Now i can keep TFS up to latest trunk! =D
 
Back
Top