• 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

ok b/c from what i remember compiling for both sqllite and mysql made it more unstable

thanks for the help
 
ok i moved devc++ to my c:/ dir and im still getting an error...

Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Justin\Desktop\src\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Justin\Desktop\src\Makefile.win" all
windres.exe -i The_Forgotten_Server_private.rc --input-format=rc -o The_Forgotten_Server_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 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 waitlist.o weapons.o vocation.o The_Forgotten_Server_private.res -o "The Forgotten Server.exe" -L"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/lib" -O1 -lboost_system -lgmp -llua5.1 -lmysql -lboost_regex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s  

C:\Documents and Settings\Justin\Desktop\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lboost_regex
collect2: ld returned 1 exit status

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

Execution terminated

Also it says 2 total errors!

And in the compiler window..

cannot find -lboost_regex
ld returned 1 exit status
C:\Documents and Settings\Justin\Desktop\src\Makefile.win [Build Error]["The] Error 1


Ok well i redid it in a new project... and i added all the snv files myself.. and now im getting this error with your linker and c++ compiler info
Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Justin\Desktop\Dev-Cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Justin\Desktop\Dev-Cpp\Makefile.win" all
g++.exe -c ../src/main.cpp -o ../src/main.o -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include/c++/3.4.2"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

windres.exe -i Project1_private.rc --input-format=rc -o Project1_private.res -O coff 

windres.exe: can't open icon file `TheForgottenServer.ico': No such file or directory

make.exe: *** [Project1_private.res] Error 1

Execution terminated

Any ideas....


No idea what i did other than i downloaded the tortiussnv thing and i downloaded the snv's from it... and it works 100% now im trying to figure out how to work the multiworld system
 
Last edited:
ok i moved devc++ to my c:/ dir and im still getting an error...

Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Justin\Desktop\src\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Justin\Desktop\src\Makefile.win" all
windres.exe -i The_Forgotten_Server_private.rc --input-format=rc -o The_Forgotten_Server_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 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 waitlist.o weapons.o vocation.o The_Forgotten_Server_private.res -o "The Forgotten Server.exe" -L"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/lib" -O1 -lboost_system -lgmp -llua5.1 -lmysql -lboost_regex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s  

C:\Documents and Settings\Justin\Desktop\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lboost_regex
collect2: ld returned 1 exit status

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

Execution terminated

Also it says 2 total errors!

And in the compiler window..

cannot find -lboost_regex
ld returned 1 exit status
C:\Documents and Settings\Justin\Desktop\src\Makefile.win [Build Error]["The] Error 1


Ok well i redid it in a new project... and i added all the snv files myself.. and now im getting this error with your linker and c++ compiler info
Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Justin\Desktop\Dev-Cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Justin\Desktop\Dev-Cpp\Makefile.win" all
g++.exe -c ../src/main.cpp -o ../src/main.o -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include/c++/3.4.2"  -I"C:/Documents and Settings/Justin/Desktop/Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

windres.exe -i Project1_private.rc --input-format=rc -o Project1_private.res -O coff 

windres.exe: can't open icon file `TheForgottenServer.ico': No such file or directory

make.exe: *** [Project1_private.res] Error 1

Execution terminated

Any ideas....


No idea what i did other than i downloaded the tortiussnv thing and i downloaded the snv's from it... and it works 100% now im trying to figure out how to work the multiworld system


windres.exe: can't open icon file `TheForgottenServer.ico': No such file or directory =
You must move the TheForgottenServer.ico file in the same directory where the .dev project is
 
Last edited:
the linker is that only copy this and past it at the linker?

Linkers
-O1
-lboost_system
-lgmp
-lluasql_mysql
-lluasql_sqlite
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
 
i would of but the link is down.. someone posted a version of it a few posts back... i downloaded that 1... and i finaly got it to work... now i want to know how to use the multi world system of the new 3.0 verson.. trunk..
 
Nice tutorial, but it didn't work for me :(

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Adrian\Desktop\source\dev-cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Adrian\Desktop\source\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"  -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

In file included from ../creature.h:28,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../map.h:28:32: boost/shared_ptr.hpp: No such file or directory
In file included from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../map.h:29: error: `boost' has not been declared

../map.h:29: error: expected nested-name-specifier before "shared_ptr"

../map.h:29: error: `shared_ptr' has not been declared

In file included from ../map.h:33,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../item.h:32:30: libxml/xmlmemory.h: No such file or directory
../item.h:33:27: libxml/parser.h: No such file or directory
In file included from ../map.h:33,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../item.h:297: error: `unserialize' declared as a `virtual' field

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

../item.h:298: error: `xmlNodePtr' does not name a type

In file included from ../map.h:37,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../tools.h:35:31: boost/tokenizer.hpp: No such file or directory

In file included from ../map.h:37,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../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:81: error: `tokenizer' has not been declared

../tools.h:81: error: `iterator' was not declared in this scope

../tools.h:81: error: `it' was not declared in this scope

../tools.h:81: error: `tokenizer' has not been declared

../tools.h:81: error: `iterator' was not declared in this scope

In file included from ../creature.h:28,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../map.h:110: error: `boost' has not been declared

../map.h:110: error: `shared_ptr' was not declared in this scope

../map.h:110: error: template argument 2 is invalid

../map.h:110: error: template argument 4 is invalid

../map.h:110: error: expected unqualified-id before '>' token

../map.h:110: error: expected `,' or `;' before '>' token

../map.h:282: error: `SpectatorCache' does not name a type

In file included from ../creature.h:30,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../condition.h:138: error: `xmlNodePtr' does not name a type

../condition.h:139: error: `unserialize' declared as a `virtual' field

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

../condition.h:195: error: `xmlNodePtr' does not name a type

../condition.h:196: error: `unserialize' declared as a `virtual' field

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

../condition.h:226: error: `xmlNodePtr' does not name a type

../condition.h:227: error: `unserialize' declared as a `virtual' field

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

../condition.h:255: error: `xmlNodePtr' does not name a type

../condition.h:256: error: `unserialize' declared as a `virtual' field

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

../condition.h:301: error: `xmlNodePtr' does not name a type

../condition.h:302: error: `unserialize' declared as a `virtual' field

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

../condition.h:349: error: `xmlNodePtr' does not name a type

../condition.h:350: error: `unserialize' declared as a `virtual' field

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

../condition.h:384: error: `xmlNodePtr' does not name a type

../condition.h:385: error: `unserialize' declared as a `virtual' field

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

../condition.h:413: error: `xmlNodePtr' does not name a type

../condition.h:414: error: `unserialize' declared as a `virtual' field

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

In file included from ../creatureevent.h:24,
                 from ../creature.h:34,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../luascript.h:30:18: lua.h: No such file or directory

../luascript.h:31:22: lauxlib.h: No such file or directory
../luascript.h:32:21: lualib.h: No such file or directory
In file included from ../creatureevent.h:24,
                 from ../creature.h:34,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../luascript.h:304: error: ISO C++ forbids declaration of `lua_State' with no type

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

../luascript.h:306: error: expected `;' before "bool"

../luascript.h:308: error: expected `;' before '(' token

../luascript.h:312: error: variable or field `pushThing' declared void

../luascript.h:312: error: expected `;' before '(' token

../luascript.h:313: error: variable or field `pushVariant' declared void

../luascript.h:313: error: expected `;' before '(' token

../luascript.h:314: error: variable or field `pushPosition' declared void

../luascript.h:314: error: expected `;' before '(' token

../luascript.h:315: error: variable or field `pushPosition' declared void

../luascript.h:315: error: expected `;' before '(' token

../luascript.h:317: error: expected `;' before '(' token

../luascript.h:318: error: variable or field `popPosition' declared void

../luascript.h:318: error: expected `;' before '(' token

../luascript.h:319: error: variable or field `popPosition' declared void

../luascript.h:319: error: expected `;' before '(' token

../luascript.h:320: error: expected `;' before '(' token

../luascript.h:321: error: expected `;' before '(' token

../luascript.h:322: error: expected `;' before '(' token

../luascript.h:324: error: expected `;' before '(' token

../luascript.h:325: error: variable or field `setField' declared void

../luascript.h:325: error: expected `;' before '(' token

../luascript.h:326: error: variable or field `setField' declared void

../luascript.h:326: error: expected `;' before '(' token

../luascript.h:334: 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:346: 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: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:370: error: expected `;' before '(' token

../luascript.h:371: 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:380: error: expected `;' before '(' token

../luascript.h:381: 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:385: error: expected `;' before '(' token

../luascript.h:386: 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:390: error: expected `;' before '(' token

../luascript.h:391: error: expected `;' before '(' token

../luascript.h:392: error: expected `;' before '(' token

../luascript.h:393: 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:401: error: expected `;' before '(' token

../luascript.h:402: 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: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:425: error: expected `;' before '(' token

../luascript.h:426: error: expected `;' before '(' token

../luascript.h:427: 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:435: error: expected `;' before '(' token

../luascript.h:436: error: expected `;' before '(' token

../luascript.h:437: error: expected `;' before '(' token

../luascript.h:438: error: expected `;' before '(' token

../luascript.h:439: error: expected `;' before '(' token

../luascript.h:440: error: expected `;' before '(' token

../luascript.h:441: 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:448: error: expected `;' before '(' token

../luascript.h:449: error: expected `;' before '(' token

../luascript.h:450: error: expected `;' before '(' token

../luascript.h:451: error: expected `;' before '(' token

../luascript.h:452: error: expected `;' before '(' token

../luascript.h:453: error: expected `;' before '(' token

../luascript.h:454: error: expected `;' before '(' token

../luascript.h:455: error: expected `;' before '(' token

../luascript.h:456: error: expected `;' before '(' token

../luascript.h:457: error: expected `;' before '(' token

../luascript.h:458: 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:466: error: expected `;' before '(' token

../luascript.h:467: 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:476: error: expected `;' before '(' token

../luascript.h:477: 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:482: error: expected `;' before '(' token

../luascript.h:483: error: expected `;' before '(' token

../luascript.h:484: error: expected `;' before '(' token

../luascript.h:486: error: expected `;' before '(' token

../luascript.h:487: 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:493: error: expected `;' before '(' token

../luascript.h:494: error: expected `;' before '(' token

../luascript.h:495: error: expected `;' before '(' token

../luascript.h:497: error: expected `;' before '(' token

../luascript.h:498: error: expected `;' before '(' token

../luascript.h:499: error: expected `;' before '(' token

../luascript.h:500: error: expected `;' before '(' token

../luascript.h:502: error: expected `;' before '(' token

../luascript.h:503: error: expected `;' before '(' token

../luascript.h:505: 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:511: error: expected `;' before '(' token

../luascript.h:512: error: expected `;' before '(' token

../luascript.h:513: 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:520: error: expected `;' before '(' token

../luascript.h:521: error: expected `;' before '(' token

../luascript.h:522: error: expected `;' before '(' token

../luascript.h:523: error: expected `;' before '(' token

../luascript.h:524: 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: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:539: error: expected `;' before '(' token

../luascript.h:540: error: expected `;' before '(' token

../luascript.h:541: error: expected `;' before '(' token

../luascript.h:543: error: expected `;' before '(' token

../luascript.h:544: 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:552: error: expected `;' before '(' token

../luascript.h:553: error: expected `;' before '(' token

../luascript.h:555: error: expected `;' before '(' token

../luascript.h:556: error: expected `;' before '(' token

../luascript.h:558: error: expected `;' before '(' token

../luascript.h:559: error: expected `;' before '(' token

../luascript.h:561: 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:568: error: expected `;' before '(' token

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

../luascript.h:570: error: expected `;' before '(' token

../luascript.h:572: error: expected `;' before '(' token

../luascript.h:574: error: expected `;' before '(' token

../luascript.h:575: error: expected `;' before '(' token

../luascript.h:576: error: expected `;' before '(' token

../luascript.h:577: error: expected `;' before '(' token

../luascript.h:578: error: expected `;' before '(' token

../luascript.h:579: error: expected `;' before '(' token

../luascript.h:580: error: expected `;' before '(' token

../luascript.h:582: error: expected `;' before '(' token

../luascript.h:583: error: expected `;' before '(' token

../luascript.h:584: error: expected `;' before '(' token

../luascript.h:585: error: expected `;' before '(' token

../luascript.h:586: error: expected `;' before '(' token

../luascript.h:587: error: expected `;' before '(' token

../luascript.h:588: error: expected `;' before '(' token

../luascript.h:589: error: expected `;' before '(' token

../luascript.h:590: error: expected `;' before '(' token

../luascript.h:591: error: expected `;' before '(' token

../luascript.h:593: error: expected `;' before '(' token

../luascript.h:594: error: expected `;' before '(' token

../luascript.h:595: error: expected `;' before '(' token

../luascript.h:596: error: expected `;' before '(' token

../luascript.h:597: error: expected `;' before '(' token

../luascript.h:599: error: expected `;' before '(' token

../luascript.h:600: error: expected `;' before '(' token

../luascript.h:601: error: expected `;' before '(' token

../luascript.h:602: error: expected `;' before '(' token

../luascript.h:603: error: expected `;' before '(' token

../luascript.h:604: error: expected `;' before '(' token

../luascript.h:606: error: expected `;' before '(' token

../luascript.h:607: error: expected `;' before '(' token

../luascript.h:609: error: expected `;' before '(' token

../luascript.h:610: error: expected `;' before '(' token

../luascript.h:611: error: expected `;' before '(' token

../luascript.h:612: error: expected `;' before '(' token

../luascript.h:614: error: expected `;' before '(' token

../luascript.h:615: error: expected `;' before '(' token

../luascript.h:616: error: expected `;' before '(' token

../luascript.h:617: error: expected `;' before '(' token

../luascript.h:618: error: expected `;' before '(' token

../luascript.h:619: error: expected `;' before '(' token

../luascript.h:620: error: expected `;' before '(' token

../luascript.h:621: error: expected `;' before '(' token

../luascript.h:622: error: expected `;' before '(' token

../luascript.h:623: error: expected `;' before '(' token

../luascript.h:624: error: expected `;' before '(' token

../luascript.h:625: error: expected `;' before '(' token

../luascript.h:628: error: expected `;' before '(' token

../luascript.h:630: error: `luaL_Reg' does not name a type

../luascript.h:631: error: expected `;' before '(' token

../luascript.h:632: error: expected `;' before '(' token

../luascript.h:633: error: expected `;' before '(' token

../luascript.h:634: error: expected `;' before '(' token

../luascript.h:636: error: `luaL_Reg' does not name a type

../luascript.h:637: error: expected `;' before '(' token

../luascript.h:638: error: expected `;' before '(' token

../luascript.h:639: error: expected `;' before '(' token

../luascript.h:640: error: expected `;' before '(' token

../luascript.h:641: error: expected `;' before '(' token

../luascript.h:642: error: expected `;' before '(' token

../luascript.h:644: error: `luaL_Reg' does not name a type

../luascript.h:645: error: expected `;' before '(' token

../luascript.h:646: error: expected `;' before '(' token

../luascript.h:647: error: expected `;' before '(' token

../luascript.h:648: error: expected `;' before '(' token

../luascript.h:649: error: expected `;' before '(' token

../luascript.h:650: error: expected `;' before '(' token

../luascript.h:651: error: expected `;' before '(' token

../luascript.h:652: error: expected `;' before '(' token

../luascript.h:653: error: expected `;' before '(' token

../luascript.h:654: error: expected `;' before '(' token

../luascript.h:655: error: expected `;' before '(' token

../luascript.h:656: error: expected `;' before '(' token

../luascript.h:658: error: ISO C++ forbids declaration of `lua_State' with no type

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

In file included from ../creatureevent.h:25,
                 from ../creature.h:34,
                 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:34,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../creatureevent.h:58: error: `xmlNodePtr' has not been declared

../creatureevent.h:58: error: ISO C++ forbids declaration of `p' with no type

../creatureevent.h:74: error: `configureEvent' declared as a `virtual' field

../creatureevent.h:74: error: expected `;' before '(' token

In file included from ../player.h:26,
                 from ../actions.cpp:24:
../container.h:45: error: `unserialize' declared as a `virtual' field

../container.h:45: error: expected `;' before '(' token

../container.h:46: 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 ../protocolgame.h:26,
                 from ../player.h:32,
                 from ../actions.cpp:24:
../protocol.h:32: error: `boost' has not been declared

../protocol.h:33: error: expected class-name before '{' token

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

../monsters.h:175: error: expected `;' before '(' token

../monsters.h:176: 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 ../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:51: error: `boost' has not been declared

../scheduler.h:51: error: `function' has not been declared

../scheduler.h:51: error: expected `,' or `...' before '<' token

../scheduler.h:51: error: ISO C++ forbids declaration of `parameter' with no type

../scheduler.h:60: error: `boost' has not been declared

../scheduler.h:60: error: `function' has not been declared

../scheduler.h:60: error: expected `,' or `...' before '<' token

../scheduler.h:60: error: ISO C++ forbids declaration of `parameter' with no type

../scheduler.h: In constructor `SchedulerTask::SchedulerTask(uint32_t, int)':
../scheduler.h:51: error: `f' undeclared (first use this function)

../scheduler.h: At global scope:
../scheduler.h:63: error: `boost' has not been declared

../scheduler.h:63: error: `function' has not been declared

../scheduler.h:63: error: expected `,' or `...' before '<' token

../scheduler.h:64: error: ISO C++ forbids declaration of `parameter' with no type

../scheduler.h: In function `SchedulerTask* createSchedulerTask(uint32_t, int)':
../scheduler.h:68: error: `f' undeclared (first use this function)

In file included from ../actions.cpp:27:
../game.h: At global scope:
../game.h:103: error: `shared_ptr' was not declared in this scope

../game.h:103: error: template argument 2 is invalid

../game.h:103: error: template argument 4 is invalid

../game.h:103: error: expected unqualified-id before '>' token

../game.h:103: error: expected `,' or `;' before '>' token

../game.h:504: error: ISO C++ forbids declaration of `RuleViolationsMap' with no type

../game.h:504: error: expected `;' before '&' token

../game.h:505: error: expected `;' before "bool"

../game.h:535: error: `RuleViolationsMap' does not name a type

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:73: error: `xmlNodePtr' has not been declared

../actions.h:73: error: ISO C++ forbids declaration of `p' with no type

../actions.h:99: error: `configureEvent' declared as a `virtual' field

../actions.h:99: error: expected `;' before '(' token

In file included from ../spells.h:28,
                 from ../actions.cpp:35:
../talkaction.h:59: error: `xmlNodePtr' has not been declared

../talkaction.h:59: error: ISO C++ forbids declaration of `p' with no type

../talkaction.h:74: error: `configureEvent' declared as a `virtual' field

../talkaction.h:74: 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:220: error: `configureEvent' declared as a `virtual' field

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

../spells.h:259: error: `configureEvent' declared as a `virtual' field

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

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

../configmanager.h:180: error: expected `;' before '(' token

../configmanager.h:181: error: expected `;' before '(' token

../configmanager.h:182: error: expected `;' before '(' token

../configmanager.h:184: 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:98: error: `xmlNodePtr' has not been declared

../actions.cpp:99: error: ISO C++ forbids declaration of `p' with no type

../actions.cpp: In member function `virtual bool Actions::registerEvent(Event*, int)':
../actions.cpp:105: error: `readXMLInteger' cannot be used as a function

../actions.cpp:107: error: `readXMLInteger' cannot be used as a function

../actions.cpp:107: error: `readXMLInteger' cannot be used as a function

../actions.cpp:113: error: `readXMLInteger' cannot be used as a function

../actions.cpp:115: error: `readXMLInteger' cannot be used as a function

../actions.cpp:115: error: `readXMLInteger' cannot be used as a function

../actions.cpp:121: error: `readXMLInteger' cannot be used as a function

../actions.cpp:123: error: `readXMLInteger' cannot be used as a function

../actions.cpp:123: error: `readXMLInteger' cannot be used as a function

../actions.cpp: At global scope:
../actions.cpp:592: error: `bool Action::configureEvent' is not a static member of `class Action'

../actions.cpp:592: error: `xmlNodePtr' was not declared in this scope

../actions.cpp:593: 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:702: error: `lua_State' undeclared (first use this function)

../actions.cpp:702: error: `L' undeclared (first use this function)

../actions.cpp:702: error: 'class LuaScriptInterface' has no member named 'getLuaState'

../actions.cpp:705: error: `lua_pushnumber' undeclared (first use this function)

../actions.cpp:706: error: `pushThing' is not a member of `LuaScriptInterface'

../actions.cpp:707: error: `pushPosition' is not a member of `LuaScriptInterface'

../actions.cpp:713: error: `pushThing' is not a member of `LuaScriptInterface'

../actions.cpp:714: error: `pushPosition' is not a member of `LuaScriptInterface'

../actions.cpp:718: error: `pushThing' is not a member of `LuaScriptInterface'

../actions.cpp:720: error: `pushPosition' is not a member of `LuaScriptInterface'

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

Execution terminated

Why did I get all these errors? :O
 
starting on how to compilate. My question is... I am using TFS 0.3 rev. 788. Can I get sources files from other rev such as 789 or rev. 930?
 
Nice tutorial, but it didn't work for me :(

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Adrian\Desktop\source\dev-cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Adrian\Desktop\source\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"  -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

In file included from ../creature.h:28,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../map.h:28:32: boost/shared_ptr.hpp: No such file or directory
In file included from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../map.h:29: error: `boost' has not been declared

../map.h:29: error: expected nested-name-specifier before "shared_ptr"

../map.h:29: error: `shared_ptr' has not been declared

In file included from ../map.h:33,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../item.h:32:30: libxml/xmlmemory.h: No such file or directory
../item.h:33:27: libxml/parser.h: No such file or directory
In file included from ../map.h:33,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../item.h:297: error: `unserialize' declared as a `virtual' field

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

../item.h:298: error: `xmlNodePtr' does not name a type

In file included from ../map.h:37,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../tools.h:35:31: boost/tokenizer.hpp: No such file or directory

In file included from ../map.h:37,
                 from ../creature.h:28,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../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:81: error: `tokenizer' has not been declared

../tools.h:81: error: `iterator' was not declared in this scope

../tools.h:81: error: `it' was not declared in this scope

../tools.h:81: error: `tokenizer' has not been declared

../tools.h:81: error: `iterator' was not declared in this scope

In file included from ../creature.h:28,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../map.h:110: error: `boost' has not been declared

../map.h:110: error: `shared_ptr' was not declared in this scope

../map.h:110: error: template argument 2 is invalid

../map.h:110: error: template argument 4 is invalid

../map.h:110: error: expected unqualified-id before '>' token

../map.h:110: error: expected `,' or `;' before '>' token

../map.h:282: error: `SpectatorCache' does not name a type

In file included from ../creature.h:30,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../condition.h:138: error: `xmlNodePtr' does not name a type

../condition.h:139: error: `unserialize' declared as a `virtual' field

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

../condition.h:195: error: `xmlNodePtr' does not name a type

../condition.h:196: error: `unserialize' declared as a `virtual' field

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

../condition.h:226: error: `xmlNodePtr' does not name a type

../condition.h:227: error: `unserialize' declared as a `virtual' field

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

../condition.h:255: error: `xmlNodePtr' does not name a type

../condition.h:256: error: `unserialize' declared as a `virtual' field

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

../condition.h:301: error: `xmlNodePtr' does not name a type

../condition.h:302: error: `unserialize' declared as a `virtual' field

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

../condition.h:349: error: `xmlNodePtr' does not name a type

../condition.h:350: error: `unserialize' declared as a `virtual' field

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

../condition.h:384: error: `xmlNodePtr' does not name a type

../condition.h:385: error: `unserialize' declared as a `virtual' field

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

../condition.h:413: error: `xmlNodePtr' does not name a type

../condition.h:414: error: `unserialize' declared as a `virtual' field

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

In file included from ../creatureevent.h:24,
                 from ../creature.h:34,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../luascript.h:30:18: lua.h: No such file or directory

../luascript.h:31:22: lauxlib.h: No such file or directory
../luascript.h:32:21: lualib.h: No such file or directory
In file included from ../creatureevent.h:24,
                 from ../creature.h:34,
                 from ../player.h:25,
                 from ../actions.cpp:24:
../luascript.h:304: error: ISO C++ forbids declaration of `lua_State' with no type

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

../luascript.h:306: error: expected `;' before "bool"

../luascript.h:308: error: expected `;' before '(' token

../luascript.h:312: error: variable or field `pushThing' declared void

../luascript.h:312: error: expected `;' before '(' token

../luascript.h:313: error: variable or field `pushVariant' declared void

../luascript.h:313: error: expected `;' before '(' token

../luascript.h:314: error: variable or field `pushPosition' declared void

../luascript.h:314: error: expected `;' before '(' token

../luascript.h:315: error: variable or field `pushPosition' declared void

../luascript.h:315: error: expected `;' before '(' token

../luascript.h:317: error: expected `;' before '(' token

../luascript.h:318: error: variable or field `popPosition' declared void

../luascript.h:318: error: expected `;' before '(' token

../luascript.h:319: error: variable or field `popPosition' declared void

../luascript.h:319: error: expected `;' before '(' token

../luascript.h:320: error: expected `;' before '(' token

../luascript.h:321: error: expected `;' before '(' token

../luascript.h:322: error: expected `;' before '(' token

../luascript.h:324: error: expected `;' before '(' token

../luascript.h:325: error: variable or field `setField' declared void

../luascript.h:325: error: expected `;' before '(' token

../luascript.h:326: error: variable or field `setField' declared void

../luascript.h:326: error: expected `;' before '(' token

../luascript.h:334: 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:346: 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: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:370: error: expected `;' before '(' token

../luascript.h:371: 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:380: error: expected `;' before '(' token

../luascript.h:381: 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:385: error: expected `;' before '(' token

../luascript.h:386: 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:390: error: expected `;' before '(' token

../luascript.h:391: error: expected `;' before '(' token

../luascript.h:392: error: expected `;' before '(' token

../luascript.h:393: 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:401: error: expected `;' before '(' token

../luascript.h:402: 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: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:425: error: expected `;' before '(' token

../luascript.h:426: error: expected `;' before '(' token

../luascript.h:427: 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:435: error: expected `;' before '(' token

../luascript.h:436: error: expected `;' before '(' token

../luascript.h:437: error: expected `;' before '(' token

../luascript.h:438: error: expected `;' before '(' token

../luascript.h:439: error: expected `;' before '(' token

../luascript.h:440: error: expected `;' before '(' token

../luascript.h:441: 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:448: error: expected `;' before '(' token

../luascript.h:449: error: expected `;' before '(' token

../luascript.h:450: error: expected `;' before '(' token

../luascript.h:451: error: expected `;' before '(' token

../luascript.h:452: error: expected `;' before '(' token

../luascript.h:453: error: expected `;' before '(' token

../luascript.h:454: error: expected `;' before '(' token

../luascript.h:455: error: expected `;' before '(' token

../luascript.h:456: error: expected `;' before '(' token

../luascript.h:457: error: expected `;' before '(' token

../luascript.h:458: 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:466: error: expected `;' before '(' token

../luascript.h:467: 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:476: error: expected `;' before '(' token

../luascript.h:477: 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:482: error: expected `;' before '(' token

../luascript.h:483: error: expected `;' before '(' token

../luascript.h:484: error: expected `;' before '(' token

../luascript.h:486: error: expected `;' before '(' token

../luascript.h:487: 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:493: error: expected `;' before '(' token

../luascript.h:494: error: expected `;' before '(' token

../luascript.h:495: error: expected `;' before '(' token

../luascript.h:497: error: expected `;' before '(' token

../luascript.h:498: error: expected `;' before '(' token

../luascript.h:499: error: expected `;' before '(' token

../luascript.h:500: error: expected `;' before '(' token

../luascript.h:502: error: expected `;' before '(' token

../luascript.h:503: error: expected `;' before '(' token

../luascript.h:505: 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:511: error: expected `;' before '(' token

../luascript.h:512: error: expected `;' before '(' token

../luascript.h:513: 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:520: error: expected `;' before '(' token

../luascript.h:521: error: expected `;' before '(' token

../luascript.h:522: error: expected `;' before '(' token

../luascript.h:523: error: expected `;' before '(' token

../luascript.h:524: 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: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:539: error: expected `;' before '(' token

../luascript.h:540: error: expected `;' before '(' token

../luascript.h:541: error: expected `;' before '(' token

../luascript.h:543: error: expected `;' before '(' token

../luascript.h:544: 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:552: error: expected `;' before '(' token

../luascript.h:553: error: expected `;' before '(' token

../luascript.h:555: error: expected `;' before '(' token

../luascript.h:556: error: expected `;' before '(' token

../luascript.h:558: error: expected `;' before '(' token

../luascript.h:559: error: expected `;' before '(' token

../luascript.h:561: 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:568: error: expected `;' before '(' token

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

../luascript.h:570: error: expected `;' before '(' token

../luascript.h:572: error: expected `;' before '(' token

../luascript.h:574: error: expected `;' before '(' token

../luascript.h:575: error: expected `;' before '(' token

../luascript.h:576: error: expected `;' before '(' token

../luascript.h:577: error: expected `;' before '(' token

../luascript.h:578: error: expected `;' before '(' token

../luascript.h:579: error: expected `;' before '(' token

../luascript.h:580: error: expected `;' before '(' token

../luascript.h:582: error: expected `;' before '(' token

../luascript.h:583: error: expected `;' before '(' token

../luascript.h:584: error: expected `;' before '(' token

../luascript.h:585: error: expected `;' before '(' token

../luascript.h:586: error: expected `;' before '(' token

../luascript.h:587: error: expected `;' before '(' token

../luascript.h:588: error: expected `;' before '(' token

../luascript.h:589: error: expected `;' before '(' token

../luascript.h:590: error: expected `;' before '(' token

../luascript.h:591: error: expected `;' before '(' token

../luascript.h:593: error: expected `;' before '(' token

../luascript.h:594: error: expected `;' before '(' token

../luascript.h:595: error: expected `;' before '(' token

../luascript.h:596: error: expected `;' before '(' token

../luascript.h:597: error: expected `;' before '(' token

../luascript.h:599: error: expected `;' before '(' token

../luascript.h:600: error: expected `;' before '(' token

../luascript.h:601: error: expected `;' before '(' token

../luascript.h:602: error: expected `;' before '(' token

../luascript.h:603: error: expected `;' before '(' token

../luascript.h:604: error: expected `;' before '(' token

../luascript.h:606: error: expected `;' before '(' token

../luascript.h:607: error: expected `;' before '(' token

../luascript.h:609: error: expected `;' before '(' token

../luascript.h:610: error: expected `;' before '(' token

../luascript.h:611: error: expected `;' before '(' token

../luascript.h:612: error: expected `;' before '(' token

../luascript.h:614: error: expected `;' before '(' token

../luascript.h:615: error: expected `;' before '(' token

../luascript.h:616: error: expected `;' before '(' token

../luascript.h:617: error: expected `;' before '(' token

../luascript.h:618: error: expected `;' before '(' token

../luascript.h:619: error: expected `;' before '(' token

../luascript.h:620: error: expected `;' before '(' token

../luascript.h:621: error: expected `;' before '(' token

../luascript.h:622: error: expected `;' before '(' token

../luascript.h:623: error: expected `;' before '(' token

../luascript.h:624: error: expected `;' before '(' token

../luascript.h:625: error: expected `;' before '(' token

../luascript.h:628: error: expected `;' before '(' token

../luascript.h:630: error: `luaL_Reg' does not name a type

../luascript.h:631: error: expected `;' before '(' token

../luascript.h:632: error: expected `;' before '(' token

../luascript.h:633: error: expected `;' before '(' token

../luascript.h:634: error: expected `;' before '(' token

../luascript.h:636: error: `luaL_Reg' does not name a type

../luascript.h:637: error: expected `;' before '(' token

../luascript.h:638: error: expected `;' before '(' token

../luascript.h:639: error: expected `;' before '(' token

../luascript.h:640: error: expected `;' before '(' token

../luascript.h:641: error: expected `;' before '(' token

../luascript.h:642: error: expected `;' before '(' token

../luascript.h:644: error: `luaL_Reg' does not name a type

../luascript.h:645: error: expected `;' before '(' token

../luascript.h:646: error: expected `;' before '(' token

../luascript.h:647: error: expected `;' before '(' token

../luascript.h:648: error: expected `;' before '(' token

../luascript.h:649: error: expected `;' before '(' token

../luascript.h:650: error: expected `;' before '(' token

../luascript.h:651: error: expected `;' before '(' token

../luascript.h:652: error: expected `;' before '(' token

../luascript.h:653: error: expected `;' before '(' token

../luascript.h:654: error: expected `;' before '(' token

../luascript.h:655: error: expected `;' before '(' token

../luascript.h:656: error: expected `;' before '(' token

../luascript.h:658: error: ISO C++ forbids declaration of `lua_State' with no type

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

In file included from ../creatureevent.h:25,
                 from ../creature.h:34,
                 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:34,
                 from ../player.h:25,

                 from ../actions.cpp:24:
../creatureevent.h:58: error: `xmlNodePtr' has not been declared

../creatureevent.h:58: error: ISO C++ forbids declaration of `p' with no type

../creatureevent.h:74: error: `configureEvent' declared as a `virtual' field

../creatureevent.h:74: error: expected `;' before '(' token

In file included from ../player.h:26,
                 from ../actions.cpp:24:
../container.h:45: error: `unserialize' declared as a `virtual' field

../container.h:45: error: expected `;' before '(' token

../container.h:46: 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 ../protocolgame.h:26,
                 from ../player.h:32,
                 from ../actions.cpp:24:
../protocol.h:32: error: `boost' has not been declared

../protocol.h:33: error: expected class-name before '{' token

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

../monsters.h:175: error: expected `;' before '(' token

../monsters.h:176: 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 ../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:51: error: `boost' has not been declared

../scheduler.h:51: error: `function' has not been declared

../scheduler.h:51: error: expected `,' or `...' before '<' token

../scheduler.h:51: error: ISO C++ forbids declaration of `parameter' with no type

../scheduler.h:60: error: `boost' has not been declared

../scheduler.h:60: error: `function' has not been declared

../scheduler.h:60: error: expected `,' or `...' before '<' token

../scheduler.h:60: error: ISO C++ forbids declaration of `parameter' with no type

../scheduler.h: In constructor `SchedulerTask::SchedulerTask(uint32_t, int)':
../scheduler.h:51: error: `f' undeclared (first use this function)

../scheduler.h: At global scope:
../scheduler.h:63: error: `boost' has not been declared

../scheduler.h:63: error: `function' has not been declared

../scheduler.h:63: error: expected `,' or `...' before '<' token

../scheduler.h:64: error: ISO C++ forbids declaration of `parameter' with no type

../scheduler.h: In function `SchedulerTask* createSchedulerTask(uint32_t, int)':
../scheduler.h:68: error: `f' undeclared (first use this function)

In file included from ../actions.cpp:27:
../game.h: At global scope:
../game.h:103: error: `shared_ptr' was not declared in this scope

../game.h:103: error: template argument 2 is invalid

../game.h:103: error: template argument 4 is invalid

../game.h:103: error: expected unqualified-id before '>' token

../game.h:103: error: expected `,' or `;' before '>' token

../game.h:504: error: ISO C++ forbids declaration of `RuleViolationsMap' with no type

../game.h:504: error: expected `;' before '&' token

../game.h:505: error: expected `;' before "bool"

../game.h:535: error: `RuleViolationsMap' does not name a type

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:73: error: `xmlNodePtr' has not been declared

../actions.h:73: error: ISO C++ forbids declaration of `p' with no type

../actions.h:99: error: `configureEvent' declared as a `virtual' field

../actions.h:99: error: expected `;' before '(' token

In file included from ../spells.h:28,
                 from ../actions.cpp:35:
../talkaction.h:59: error: `xmlNodePtr' has not been declared

../talkaction.h:59: error: ISO C++ forbids declaration of `p' with no type

../talkaction.h:74: error: `configureEvent' declared as a `virtual' field

../talkaction.h:74: 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:220: error: `configureEvent' declared as a `virtual' field

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

../spells.h:259: error: `configureEvent' declared as a `virtual' field

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

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

../configmanager.h:180: error: expected `;' before '(' token

../configmanager.h:181: error: expected `;' before '(' token

../configmanager.h:182: error: expected `;' before '(' token

../configmanager.h:184: 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:98: error: `xmlNodePtr' has not been declared

../actions.cpp:99: error: ISO C++ forbids declaration of `p' with no type

../actions.cpp: In member function `virtual bool Actions::registerEvent(Event*, int)':
../actions.cpp:105: error: `readXMLInteger' cannot be used as a function

../actions.cpp:107: error: `readXMLInteger' cannot be used as a function

../actions.cpp:107: error: `readXMLInteger' cannot be used as a function

../actions.cpp:113: error: `readXMLInteger' cannot be used as a function

../actions.cpp:115: error: `readXMLInteger' cannot be used as a function

../actions.cpp:115: error: `readXMLInteger' cannot be used as a function

../actions.cpp:121: error: `readXMLInteger' cannot be used as a function

../actions.cpp:123: error: `readXMLInteger' cannot be used as a function

../actions.cpp:123: error: `readXMLInteger' cannot be used as a function

../actions.cpp: At global scope:
../actions.cpp:592: error: `bool Action::configureEvent' is not a static member of `class Action'

../actions.cpp:592: error: `xmlNodePtr' was not declared in this scope

../actions.cpp:593: 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:702: error: `lua_State' undeclared (first use this function)

../actions.cpp:702: error: `L' undeclared (first use this function)

../actions.cpp:702: error: 'class LuaScriptInterface' has no member named 'getLuaState'

../actions.cpp:705: error: `lua_pushnumber' undeclared (first use this function)

../actions.cpp:706: error: `pushThing' is not a member of `LuaScriptInterface'

../actions.cpp:707: error: `pushPosition' is not a member of `LuaScriptInterface'

../actions.cpp:713: error: `pushThing' is not a member of `LuaScriptInterface'

../actions.cpp:714: error: `pushPosition' is not a member of `LuaScriptInterface'

../actions.cpp:718: error: `pushThing' is not a member of `LuaScriptInterface'

../actions.cpp:720: error: `pushPosition' is not a member of `LuaScriptInterface'

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

Execution terminated

Why did I get all these errors? :O

Missing boost & you probably edited something in these files.Do you use the Dev C++ that is in my main post?

starting on how to compilate. My question is... I am using TFS 0.3 rev. 788. Can I get sources files from other rev such as 789 or rev. 930?

Yes,you can.
 
I compiled everything with no problems but when i`m starting served i see console and "press any key continue..."
 
Ubuntu 8.4 problem (copile)

Hello, i tryed to copile on Ubuntu 8.4 and i got this error


/usr/bin/ld: cannot find -llua5.1-sql-sqlite
collect2: ld returned 1 exit status
make: ** [theforgottenserver] Erro 1

I installed requered library, but this error occurs in the windows too...

How i can solve this problem In Linux?
 
wtf is up with this shit

C:\Documents and Settings\Owner\Desktop\Forgotten Sources\Project\Makefile.win [Build Error] [OTPROJECT_private.res] Error 1

[Resource error] can't open icon file `TheForgottenServer.ico': No such file or directory
 
I'm getting this error

cannot find -lregex

and this i found at log

C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lregex

Fixed


New error:
Log:
Code:
obj//databasemysql.o(.text+0xfd):databasemysql.cpp: undefined reference to `mysql_init@4'
obj//databasemysql.o(.text+0x158):databasemysql.cpp: undefined reference to `mysql_options@12'
obj//databasemysql.o(.text+0x226):databasemysql.cpp: undefined reference to `mysql_real_connect@32'

obj//databasemysql.o(.text+0x238):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0x319):databasemysql.cpp: undefined reference to `mysql_init@4'
obj//databasemysql.o(.text+0x374):databasemysql.cpp: undefined reference to `mysql_options@12'
obj//databasemysql.o(.text+0x442):databasemysql.cpp: undefined reference to `mysql_real_connect@32'
obj//databasemysql.o(.text+0x454):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0x52b):databasemysql.cpp: undefined reference to `mysql_close@4'
obj//databasemysql.o(.text+0x5c9):databasemysql.cpp: undefined reference to `mysql_close@4'
obj//databasemysql.o(.text+0x667):databasemysql.cpp: undefined reference to `mysql_close@4'
obj//databasemysql.o(.text+0x93b):databasemysql.cpp: undefined reference to `mysql_rollback@4'
obj//databasemysql.o(.text+0x94f):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0x9b3):databasemysql.cpp: undefined reference to `mysql_commit@4'
obj//databasemysql.o(.text+0x9c7):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0xa4b):databasemysql.cpp: undefined reference to `mysql_real_query@12'
obj//databasemysql.o(.text+0xa5e):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0xabb):databasemysql.cpp: undefined reference to `mysql_errno@4'
obj//databasemysql.o(.text+0xae8):databasemysql.cpp: undefined reference to `mysql_store_result@4'
obj//databasemysql.o(.text+0xaf7):databasemysql.cpp: undefined reference to `mysql_free_result@4'
obj//databasemysql.o(.text+0xb89):databasemysql.cpp: undefined reference to `mysql_real_query@12'
obj//databasemysql.o(.text+0xb9f):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0xc02):databasemysql.cpp: undefined reference to `mysql_errno@4'
obj//databasemysql.o(.text+0xc3b):databasemysql.cpp: undefined reference to `mysql_store_result@4'
obj//databasemysql.o(.text+0xc54):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0xcb7):databasemysql.cpp: undefined reference to `mysql_errno@4'
obj//databasemysql.o(.text+0xe7a):databasemysql.cpp: undefined reference to `mysql_real_escape_string@16'
obj//databasemysql.o(.text+0x14a8):databasemysql.cpp: undefined reference to `mysql_fetch_lengths@4'
obj//databasemysql.o(.text+0x1531):databasemysql.cpp: undefined reference to `mysql_fetch_row@4'
obj//databasemysql.o(.text+0x17a9):databasemysql.cpp: undefined reference to `mysql_fetch_field@4'

obj//databasemysql.o(.text+0x1aed):databasemysql.cpp: undefined reference to `mysql_fetch_field@4'
obj//databasemysql.o(.text+0x1c25):databasemysql.cpp: undefined reference to `mysql_free_result@4'
obj//databasemysql.o(.text+0x1d57):databasemysql.cpp: undefined reference to `mysql_free_result@4'
obj//databasemysql.o(.text+0x1e89):databasemysql.cpp: undefined reference to `mysql_free_result@4'

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

Execution terminated
 
Last edited:
I NEVER GET THIS TO WORK.. I Have Allways problem with TFS C++...
Please Help me! :(

Code:
24 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\admin.cpp In file included from ../admin.cpp 
25 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h boost/asio.hpp: No such file or directory. 
24 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\admin.cpp In file included from ../admin.cpp 
65 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::asio' has not been declared 
65 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `;' before '(' token 
102 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::asio' has not been declared 
102 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `)' before '&' token 
130 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::asio' has not been declared 
130 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `socket' with no type 
130 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `;' before '&' token 
132 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `;' before "void" 
140 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::system' has not been declared 
140 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `,' or `...' before '&' token 
140 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `error_code' with no type 
141 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::system' has not been declared 
141 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `,' or `...' before '&' token 
141 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `error_code' with no type 
143 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::system' has not been declared 
143 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `,' or `...' before '&' token 
143 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `error_code' with no type 
145 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::system' has not been declared 
145 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `,' or `...' before '&' token 
145 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `error_code' with no type 
146 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::system' has not been declared 
146 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `,' or `...' before '&' token 
146 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `error_code' with no type 
155 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h `boost::asio' has not been declared 
155 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h ISO C++ forbids declaration of `socket' with no type 
155 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\connection.h expected `;' before "m_socket" 
 C:\Documents and Settings\Christoffer\Skrivbord\FORGOTTEN\forgottenserver\trunk\dev-cpp\Makefile.win [Build Error]  [obj//admin.o] Error 1

Regards,
Vellor
 
Back
Top